#AF7CF9#AF7CF9
#AF7CF9 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.182 H 300.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7CF9 |
|---|---|
| RGB | rgb(175, 124, 249) |
| HSL | hsl(264, 91%, 73%) |
| HSV | hsv(264, 50%, 98%) |
| CMYK | cmyk(29.7%, 50.2%, 0%, 2.4%) |
| CIE-LAB | lab(61.97, 44.70, -55.50) |
| CIE-LCH | lch(61.97, 71.26, 308.85°) |
| OKLab | oklab(69.07% 0.0923 -0.1563) |
| OKLCH | oklch(69.07% 0.182 300.6) |
| XYZ | xyz(41.9817, 30.3686, 93.2541) |
| Luminance | 0.3037 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.30
Light Purple
#BF77F6
ΔE00 3.45
Easter Purple
#C071FE
ΔE00 3.89
Liliac
#C48EFD
ΔE00 5.71
Mediumpurple
#9370DB
ΔE00 6.82
Bright Lavender
#C760FF
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7CF9 #C6F97C
analogous
#7C87F9 #AF7CF9 #ED7CF9
triadic
#AF7CF9 #F9AF7C #7CF9AF
tetradic
#AF7CF9 #F97C87 #C6F97C #7CF9ED
square
#AF7CF9 #F97C87 #C6F97C #7CF9ED
split-complementary
#AF7CF9 #F9ED7C #87F97C
monochromatic
#680BF0 #8B41F6 #AF7CF9 #D3B7FC #EDE2FE
Accessibility & contrast
On white
2.97
#AF7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#AF7CF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF7CF9
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7CF9 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5295FD
Deuteranopia (green-blind)
#5F95F6
Tritanopia (blue-blind)
#A093AF
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #af7cf9; /* rgb */ color: rgb(175, 124, 249); /* oklch */ color: oklch(69.1% 0.182 300.6);
Tailwind
colors: {
custom: {
50: '#caa3fc',
500: '#af7cf9',
950: '#000000',
},
}SCSS
$custom: #af7cf9; $custom-light: #caa3fc; $custom-dark: #000000;
JSON
{
"hex": "#af7cf9",
"rgb": {
"r": 175,
"g": 124,
"b": 249
},
"hsl": {
"h": 264.48,
"s": 91.241,
"l": 73.137
},
"oklch": {
"l": 0.69065,
"c": 0.18154,
"h": 300.6
},
"luminance": 0.30369
}Semantic roles & 50–950 ramp
primary
#AF7CF9
secondary
#E8F6D5
accent
#E60088
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85