#AF86CD#AF86CD
#AF86CD is a light, moderate violet. Relative luminance 0.306; OKLCH L 68.5% C 0.111 H 310.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AF86CD |
|---|---|
| RGB | rgb(175, 134, 205) |
| HSL | hsl(275, 42%, 66%) |
| HSV | hsv(275, 35%, 80%) |
| CMYK | cmyk(14.6%, 34.6%, 0%, 19.6%) |
| CIE-LAB | lab(62.15, 28.98, -30.76) |
| CIE-LCH | lch(62.15, 42.26, 313.29°) |
| OKLab | oklab(68.52% 0.0714 -0.0847) |
| OKLCH | oklch(68.52% 0.111 310.1) |
| XYZ | xyz(37.2218, 30.5724, 61.6860) |
| Luminance | 0.3057 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.95
Wisteria
#A87DC2
ΔE00 2.96
Lavender
#B39DDB
ΔE00 6.79
Soft Purple
#A66FB5
ΔE00 7.29
Heather
#A484AC
ΔE00 7.63
Orchid (survey)
#C875C4
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF86CD #A4CD86
analogous
#8C86CD #AF86CD #CD86C8
triadic
#AF86CD #CDAF86 #86CDAF
tetradic
#AF86CD #CD8C86 #A4CD86 #86C8CD
square
#AF86CD #CD8C86 #A4CD86 #86C8CD
split-complementary
#AF86CD #C8CD86 #86CD8C
monochromatic
#733F99 #925BBB #AF86CD #CCB1DF #E8DDF1
Accessibility & contrast
On white
2.95
#AF86CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#AF86CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF86CD
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF86CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF86CD | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#AC90A0
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #af86cd; /* rgb */ color: rgb(175, 134, 205); /* oklch */ color: oklch(68.5% 0.111 310.1);
Tailwind
colors: {
custom: {
50: '#c8a9dc',
500: '#af86cd',
950: '#000000',
},
}SCSS
$custom: #af86cd; $custom-light: #c8a9dc; $custom-dark: #000000;
JSON
{
"hex": "#af86cd",
"rgb": {
"r": 175,
"g": 134,
"b": 205
},
"hsl": {
"h": 274.648,
"s": 41.52,
"l": 66.471
},
"oklch": {
"l": 0.68518,
"c": 0.11076,
"h": 310.1
},
"luminance": 0.30572
}Semantic roles & 50–950 ramp
primary
#AF86CD
secondary
#D6E3CC
accent
#B53169
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83