#AD51F2#AD51F2
#AD51F2 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.234 H 307.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AD51F2 |
|---|---|
| RGB | rgb(173, 81, 242) |
| HSL | hsl(274, 86%, 63%) |
| HSV | hsv(274, 67%, 95%) |
| CMYK | cmyk(28.5%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(53.15, 64.39, -65.78) |
| CIE-LCH | lch(53.15, 92.04, 314.39°) |
| OKLab | oklab(62.43% 0.1408 -0.1864) |
| OKLCH | oklch(62.43% 0.234 307.1) |
| XYZ | xyz(36.1996, 21.1803, 86.1684) |
| Luminance | 0.2118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.01
Lighter Purple
#A55AF4
ΔE00 2.10
Mediumorchid
#BA55D3
ΔE00 5.90
Neon Purple
#BC13FE
ΔE00 6.03
Bright Lilac
#C95EFB
ΔE00 6.23
Bright Lavender
#C760FF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD51F2 #96F251
analogous
#5C51F2 #AD51F2 #F251E6
triadic
#AD51F2 #F2AD51 #51F2AD
tetradic
#AD51F2 #F25C51 #96F251 #51E6F2
square
#AD51F2 #F25C51 #96F251 #51E6F2
split-complementary
#AD51F2 #E6F251 #51F25C
monochromatic
#710EBB #9218EE #AD51F2 #C88AF6 #E3C3FB
Accessibility & contrast
On white
4.01
#AD51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#AD51F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AD51F2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD51F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AD51F2 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#2980EE
Tritanopia (blue-blind)
#A2749B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #ad51f2; /* rgb */ color: rgb(173, 81, 242); /* oklch */ color: oklch(62.4% 0.234 307.1);
Tailwind
colors: {
custom: {
50: '#ca88f7',
500: '#ad51f2',
950: '#000000',
},
}SCSS
$custom: #ad51f2; $custom-light: #ca88f7; $custom-dark: #000000;
JSON
{
"hex": "#ad51f2",
"rgb": {
"r": 173,
"g": 81,
"b": 242
},
"hsl": {
"h": 274.286,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.62434,
"c": 0.23361,
"h": 307.1
},
"luminance": 0.2118
}Semantic roles & 50–950 ramp
primary
#AD51F2
secondary
#CBECB3
accent
#E30363
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85