#7D18C9#7D18C9
#7D18C9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.4% C 0.239 H 303.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7D18C9 |
|---|---|
| RGB | rgb(125, 24, 201) |
| HSL | hsl(274, 79%, 44%) |
| HSV | hsv(274, 88%, 79%) |
| CMYK | cmyk(37.8%, 88.1%, 0%, 21.2%) |
| CIE-LAB | lab(36.42, 68.04, -69.86) |
| CIE-LCH | lch(36.42, 97.52, 314.24°) |
| OKLab | oklab(48.37% 0.131 -0.1996) |
| OKLCH | oklch(48.37% 0.239 303.3) |
| XYZ | xyz(19.3242, 9.2303, 56.0106) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.70
Purple Blue
#5D21D0
ΔE00 4.85
Blueviolet
#8A2BE2
ΔE00 5.20
Purply Blue
#661AEE
ΔE00 5.55
Burple
#6832E3
ΔE00 5.81
Blue Violet
#5D06E9
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D18C9 #64C918
analogous
#2418C9 #7D18C9 #C918BD
triadic
#7D18C9 #C97D18 #18C97D
tetradic
#7D18C9 #C92418 #64C918 #18BDC9
square
#7D18C9 #C92418 #64C918 #18BDC9
split-complementary
#7D18C9 #BDC918 #18C924
monochromatic
#390B5C #5B1192 #7D18C9 #9C37E7 #B76EEE
Accessibility & contrast
On white
7.38
#7D18C9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7D18C9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D18C9
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D18C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D18C9 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#6D4F77
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7d18c9; /* rgb */ color: rgb(125, 24, 201); /* oklch */ color: oklch(48.4% 0.239 303.3);
Tailwind
colors: {
custom: {
50: '#aa67db',
500: '#7d18c9',
950: '#000000',
},
}SCSS
$custom: #7d18c9; $custom-light: #aa67db; $custom-dark: #000000;
JSON
{
"hex": "#7d18c9",
"rgb": {
"r": 125,
"g": 24,
"b": 201
},
"hsl": {
"h": 274.237,
"s": 78.667,
"l": 44.118
},
"oklch": {
"l": 0.48369,
"c": 0.23876,
"h": 303.3
},
"luminance": 0.0923
}Semantic roles & 50–950 ramp
primary
#7D18C9
secondary
#97D469
accent
#F53386
background
#FBF6FD
surface
#F6EBFB
border
#D0C6D4
text
#110715
muted
#807A83