#AF7BF6#AF7BF6
#AF7BF6 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.179 H 301.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7BF6 |
|---|---|
| RGB | rgb(175, 123, 246) |
| HSL | hsl(265, 87%, 72%) |
| HSV | hsv(265, 50%, 96%) |
| CMYK | cmyk(28.9%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(61.60, 44.52, -54.44) |
| CIE-LCH | lch(61.60, 70.33, 309.28°) |
| OKLab | oklab(68.74% 0.0934 -0.1532) |
| OKLCH | oklch(68.74% 0.179 301.4) |
| XYZ | xyz(41.3929, 29.9336, 90.7680) |
| Luminance | 0.2993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.00
Light Purple
#BF77F6
ΔE00 3.21
Easter Purple
#C071FE
ΔE00 3.74
Liliac
#C48EFD
ΔE00 5.84
Mediumpurple
#9370DB
ΔE00 6.53
Bright Lavender
#C760FF
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7BF6 #C2F67B
analogous
#7B84F6 #AF7BF6 #ED7BF6
triadic
#AF7BF6 #F6AF7B #7BF6AF
tetradic
#AF7BF6 #F67B84 #C2F67B #7BF6ED
square
#AF7BF6 #F67B84 #C2F67B #7BF6ED
split-complementary
#AF7BF6 #F6ED7B #84F67B
monochromatic
#6B10E7 #8C42F2 #AF7BF6 #D2B4FA #EEE2FD
Accessibility & contrast
On white
3.01
#AF7BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#AF7BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7BF6
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7BF6 | 1.00 | 3.01 | 6.99 | 6.99 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5294FA
Deuteranopia (green-blind)
#6094F3
Tritanopia (blue-blind)
#A192AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #af7bf6; /* rgb */ color: rgb(175, 123, 246); /* oklch */ color: oklch(68.7% 0.179 301.4);
Tailwind
colors: {
custom: {
50: '#caa2fa',
500: '#af7bf6',
950: '#000000',
},
}SCSS
$custom: #af7bf6; $custom-light: #caa2fa; $custom-dark: #000000;
JSON
{
"hex": "#af7bf6",
"rgb": {
"r": 175,
"g": 123,
"b": 246
},
"hsl": {
"h": 265.366,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.68735,
"c": 0.17941,
"h": 301.4
},
"luminance": 0.29934
}Semantic roles & 50–950 ramp
primary
#AF7BF6
secondary
#E8F5D6
accent
#E40284
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85