#7C3AED

Royal Blue

#7C3AEDRoyal Blue

Luminance

0.134

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#7C3AED
No #
7C3AED

RGB

RGB
rgb(124, 58, 237)
Values
R:124 G:58 B:237

HSL

HSL
hsl(262, 83%, 58%)
Values
H:262° S:83% L:58%

HSV / HSB

HSV
hsv(262, 76%, 93%)
Values
H:262° S:76% V:93%

CMYK

CMYK
cmyk(48%, 76%, 0%, 7%)
Values
C:48 M:76 Y:0 K:7

LAB

LAB
lab(43, 65, -79)
Values
L:43 a:65 b:-79

OKLCH

OKLCH
oklch(54.1% 0.247 293.0)
Values
L:54.1% C:0.247 H:293.0°

Code Formats

CSS
color: #7C3AED;
Swift
UIColor(red: 0.486, green: 0.227, blue: 0.929, alpha: 1.0)
Kotlin
Color(0xFF7C3AED)
Flutter
Color(0xFF7C3AED)
Android
#FF7C3AED

Contrast Analysis

WCAG compliance with grayscale colors

On White

5.70:1

AA

On Black

3.69:1

AA-large

Grayscale Contrast

Aa

0%

3.7

AA-large
Aa

10%

3.1

AA-large
Aa

20%

2.2

Fail
Aa

30%

1.5

Fail
Aa

40%

1.0

Fail
Aa

50%

1.4

Fail
Aa

60%

2.0

Fail
Aa

70%

2.7

Fail
Aa

80%

3.5

AA-large
Aa

90%

4.5

AA
Aa

100%

5.7

AA

Best Grayscale Contrast

#FFFFFF with ratio 5.70:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #BA98F5 0%, #4B10B1 100%)
OKLCH
linear-gradient(90deg, oklch(74.6% 0.135 300.0) 0%, oklch(39.7% 0.217 287.8) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #985DFD 0%, #5A00F5 100%)
OKLCH
linear-gradient(135deg, oklch(62.5% 0.227 296.2) 0%, oklch(48.2% 0.286 282.8) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #7C3AED 0%, #ACED3B 100%)
OKLCH
linear-gradient(90deg, oklch(54.1% 0.247 293.0) 0%, oklch(87.1% 0.208 128.1) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #3B53ED 0%, #7C3AED 50%, #D53BED 100%)
OKLCH
linear-gradient(90deg, oklch(52.7% 0.231 269.4) 0%, oklch(54.1% 0.247 293.0) 50%, oklch(65.1% 0.267 321.8) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #7C3BED 0%, #1A0E2F 100%)
OKLCH
linear-gradient(180deg, oklch(54.2% 0.246 292.9) 0%, oklch(20.1% 0.063 297.1) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #AB81F3 0%, #5513C9 100%)
OKLCH
radial-gradient(circle, oklch(69.2% 0.166 299.0) 0%, oklch(43.5% 0.239 287.3) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette