#AF6CFA#AF6CFA
#AF6CFA is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.7% C 0.206 H 303.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6CFA |
|---|---|
| RGB | rgb(175, 108, 250) |
| HSL | hsl(268, 93%, 70%) |
| HSV | hsv(268, 57%, 98%) |
| CMYK | cmyk(30%, 56.8%, 0%, 2%) |
| CIE-LAB | lab(58.73, 53.48, -61.22) |
| CIE-LCH | lch(58.73, 81.29, 311.14°) |
| OKLab | oklab(66.69% 0.1123 -0.173) |
| OKLCH | oklch(66.69% 0.206 303) |
| XYZ | xyz(40.2932, 26.7412, 93.4628) |
| Luminance | 0.2674 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.29
Easter Purple
#C071FE
ΔE00 3.30
Light Purple
#BF77F6
ΔE00 4.22
Bright Lavender
#C760FF
ΔE00 4.34
Lighter Purple
#A55AF4
ΔE00 4.77
Bright Lilac
#C95EFB
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6CFA #B7FA6C
analogous
#6C70FA #AF6CFA #F66CFA
triadic
#AF6CFA #FAAF6C #6CFAAF
tetradic
#AF6CFA #FA6C70 #B7FA6C #6CFAF6
square
#AF6CFA #FA6C70 #B7FA6C #6CFAF6
split-complementary
#AF6CFA #FAF66C #70FA6C
monochromatic
#7008E4 #8F31F8 #AF6CFA #CFA7FC #EFE1FE
Accessibility & contrast
On white
3.31
#AF6CFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#AF6CFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6CFA
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6CFA | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E8CFF
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#A188A9
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #af6cfa; /* rgb */ color: rgb(175, 108, 250); /* oklch */ color: oklch(66.7% 0.206 303.0);
Tailwind
colors: {
custom: {
50: '#cb99fd',
500: '#af6cfa',
950: '#000000',
},
}SCSS
$custom: #af6cfa; $custom-light: #cb99fd; $custom-dark: #000000;
JSON
{
"hex": "#af6cfa",
"rgb": {
"r": 175,
"g": 108,
"b": 250
},
"hsl": {
"h": 268.31,
"s": 93.421,
"l": 70.196
},
"oklch": {
"l": 0.66694,
"c": 0.20629,
"h": 303
},
"luminance": 0.26741
}Semantic roles & 50–950 ramp
primary
#AF6CFA
secondary
#E2F5CD
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86