#AB6FF2#AB6FF2
#AB6FF2 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.2% C 0.192 H 302.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6FF2 |
|---|---|
| RGB | rgb(171, 111, 242) |
| HSL | hsl(267, 83%, 69%) |
| HSV | hsv(267, 54%, 95%) |
| CMYK | cmyk(29.3%, 54.1%, 0%, 5.1%) |
| CIE-LAB | lab(58.45, 49.05, -57.27) |
| CIE-LCH | lch(58.45, 75.41, 310.58°) |
| OKLab | oklab(66.24% 0.1035 -0.1616) |
| OKLCH | oklch(66.24% 0.192 302.6) |
| XYZ | xyz(38.5024, 26.4376, 87.0617) |
| Luminance | 0.2644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.45
Easter Purple
#C071FE
ΔE00 3.82
Light Purple
#BF77F6
ΔE00 4.20
Lighter Purple
#A55AF4
ΔE00 5.11
Mediumpurple
#9370DB
ΔE00 5.16
Bright Lavender
#C760FF
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6FF2 #B6F26F
analogous
#6F75F2 #AB6FF2 #ED6FF2
triadic
#AB6FF2 #F2AB6F #6FF2AB
tetradic
#AB6FF2 #F26F75 #B6F26F #6FF2ED
square
#AB6FF2 #F26F75 #B6F26F #6FF2ED
split-complementary
#AB6FF2 #F2ED6F #75F26F
monochromatic
#6B13D4 #8A37ED #AB6FF2 #CCA7F7 #ECDFFC
Accessibility & contrast
On white
3.34
#AB6FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#AB6FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6FF2
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6FF2 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8BF6
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#9E88A6
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #ab6ff2; /* rgb */ color: rgb(171, 111, 242); /* oklch */ color: oklch(66.2% 0.192 302.6);
Tailwind
colors: {
custom: {
50: '#c79af7',
500: '#ab6ff2',
950: '#000000',
},
}SCSS
$custom: #ab6ff2; $custom-light: #c79af7; $custom-dark: #000000;
JSON
{
"hex": "#ab6ff2",
"rgb": {
"r": 171,
"g": 111,
"b": 242
},
"hsl": {
"h": 267.481,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.66241,
"c": 0.19186,
"h": 302.6
},
"luminance": 0.26438
}Semantic roles & 50–950 ramp
primary
#AB6FF2
secondary
#E0F1CB
accent
#E0067C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85