#AF6BF8#AF6BF8
#AF6BF8 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.4% C 0.205 H 303.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6BF8 |
|---|---|
| RGB | rgb(175, 107, 248) |
| HSL | hsl(269, 91%, 70%) |
| HSV | hsv(269, 57%, 97%) |
| CMYK | cmyk(29.4%, 56.9%, 0%, 2.7%) |
| CIE-LAB | lab(58.42, 53.53, -60.62) |
| CIE-LCH | lch(58.42, 80.87, 311.45°) |
| OKLab | oklab(66.43% 0.1135 -0.1713) |
| OKLCH | oklch(66.43% 0.205 303.5) |
| XYZ | xyz(39.8764, 26.4067, 91.7850) |
| Luminance | 0.2641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.31
Easter Purple
#C071FE
ΔE00 3.40
Bright Lavender
#C760FF
ΔE00 4.23
Light Purple
#BF77F6
ΔE00 4.30
Lighter Purple
#A55AF4
ΔE00 4.52
Bright Lilac
#C95EFB
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6BF8 #B4F86B
analogous
#6B6EF8 #AF6BF8 #F56BF8
triadic
#AF6BF8 #F8AF6B #6BF8AF
tetradic
#AF6BF8 #F86B6E #B4F86B #6BF8F5
square
#AF6BF8 #F86B6E #B4F86B #6BF8F5
split-complementary
#AF6BF8 #F8F56B #6EF86B
monochromatic
#710BDE #8F31F5 #AF6BF8 #CFA5FB #EEE0FE
Accessibility & contrast
On white
3.34
#AF6BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#AF6BF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6BF8
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6BF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6BF8 | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E8BFD
Deuteranopia (green-blind)
#4B8CF5
Tritanopia (blue-blind)
#A287A7
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #af6bf8; /* rgb */ color: rgb(175, 107, 248); /* oklch */ color: oklch(66.4% 0.205 303.5);
Tailwind
colors: {
custom: {
50: '#cb98fb',
500: '#af6bf8',
950: '#000000',
},
}SCSS
$custom: #af6bf8; $custom-light: #cb98fb; $custom-dark: #000000;
JSON
{
"hex": "#af6bf8",
"rgb": {
"r": 175,
"g": 107,
"b": 248
},
"hsl": {
"h": 268.936,
"s": 90.968,
"l": 69.608
},
"oklch": {
"l": 0.66427,
"c": 0.20546,
"h": 303.5
},
"luminance": 0.26407
}Semantic roles & 50–950 ramp
primary
#AF6BF8
secondary
#E0F4CB
accent
#E60077
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85