#AF6FD6#AF6FD6
#AF6FD6 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.161 H 311.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6FD6 |
|---|---|
| RGB | rgb(175, 111, 214) |
| HSL | hsl(277, 56%, 64%) |
| HSV | hsv(277, 48%, 84%) |
| CMYK | cmyk(18.2%, 48.1%, 0%, 16.1%) |
| CIE-LAB | lab(57.40, 43.68, -43.24) |
| CIE-LCH | lch(57.40, 61.46, 315.29°) |
| OKLab | oklab(65.08% 0.1061 -0.1205) |
| OKLCH | oklch(65.08% 0.161 311.4) |
| XYZ | xyz(35.4991, 25.3386, 66.6261) |
| Luminance | 0.2534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 5.03
Light Purple
#BF77F6
ΔE00 5.46
Deep Lilac
#966EBD
ΔE00 5.89
Mediumorchid
#BA55D3
ΔE00 6.02
Wisteria
#A87DC2
ΔE00 6.04
Easter Purple
#C071FE
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6FD6 #96D66F
analogous
#7B6FD6 #AF6FD6 #D66FC9
triadic
#AF6FD6 #D6AF6F #6FD6AF
tetradic
#AF6FD6 #D67B6F #96D66F #6FC9D6
square
#AF6FD6 #D67B6F #96D66F #6FC9D6
split-complementary
#AF6FD6 #C9D66F #6FD67B
monochromatic
#732D9E #953FC8 #AF6FD6 #C99FE4 #E4CEF1
Accessibility & contrast
On white
3.46
#AF6FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#AF6FD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6FD6
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6FD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6FD6 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#698BD3
Tritanopia (blue-blind)
#AB7F99
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #af6fd6; /* rgb */ color: rgb(175, 111, 214); /* oklch */ color: oklch(65.1% 0.161 311.4);
Tailwind
colors: {
custom: {
50: '#c99ae3',
500: '#af6fd6',
950: '#000000',
},
}SCSS
$custom: #af6fd6; $custom-light: #c99ae3; $custom-dark: #000000;
JSON
{
"hex": "#af6fd6",
"rgb": {
"r": 175,
"g": 111,
"b": 214
},
"hsl": {
"h": 277.282,
"s": 55.676,
"l": 63.725
},
"oklch": {
"l": 0.65084,
"c": 0.16055,
"h": 311.4
},
"luminance": 0.25338
}Semantic roles & 50–950 ramp
primary
#AF6FD6
secondary
#CCE3BE
accent
#C3225F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83