#AF7CF5#AF7CF5
#AF7CF5 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.177 H 301.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7CF5 |
|---|---|
| RGB | rgb(175, 124, 245) |
| HSL | hsl(265, 86%, 72%) |
| HSV | hsv(265, 49%, 96%) |
| CMYK | cmyk(28.6%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(61.76, 43.74, -53.63) |
| CIE-LCH | lch(61.76, 69.21, 309.20°) |
| OKLab | oklab(68.84% 0.092 -0.1509) |
| OKLCH | oklch(68.84% 0.177 301.4) |
| XYZ | xyz(41.3645, 30.1217, 90.0034) |
| Luminance | 0.3012 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.24
Light Purple
#BF77F6
ΔE00 3.26
Easter Purple
#C071FE
ΔE00 3.91
Liliac
#C48EFD
ΔE00 5.64
Mediumpurple
#9370DB
ΔE00 6.58
Bright Lavender
#C760FF
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7CF5 #C2F57C
analogous
#7C86F5 #AF7CF5 #EB7CF5
triadic
#AF7CF5 #F5AF7C #7CF5AF
tetradic
#AF7CF5 #F57C86 #C2F57C #7CF5EB
square
#AF7CF5 #F57C86 #C2F57C #7CF5EB
split-complementary
#AF7CF5 #F5EB7C #86F57C
monochromatic
#6B11E5 #8C43F1 #AF7CF5 #D2B5F9 #EEE3FD
Accessibility & contrast
On white
2.99
#AF7CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#AF7CF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF7CF5
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7CF5 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5594F9
Deuteranopia (green-blind)
#6295F2
Tritanopia (blue-blind)
#A292AD
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #af7cf5; /* rgb */ color: rgb(175, 124, 245); /* oklch */ color: oklch(68.8% 0.177 301.4);
Tailwind
colors: {
custom: {
50: '#caa3f9',
500: '#af7cf5',
950: '#000000',
},
}SCSS
$custom: #af7cf5; $custom-light: #caa3f9; $custom-dark: #000000;
JSON
{
"hex": "#af7cf5",
"rgb": {
"r": 175,
"g": 124,
"b": 245
},
"hsl": {
"h": 265.289,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.68839,
"c": 0.17668,
"h": 301.4
},
"luminance": 0.30122
}Semantic roles & 50–950 ramp
primary
#AF7CF5
secondary
#E8F5D6
accent
#E20384
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85