#AF6CDD#AF6CDD
#AF6CDD is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.0% C 0.173 H 309.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6CDD |
|---|---|
| RGB | rgb(175, 108, 221) |
| HSL | hsl(276, 62%, 65%) |
| HSV | hsv(276, 51%, 87%) |
| CMYK | cmyk(20.8%, 51.1%, 0%, 13.3%) |
| CIE-LAB | lab(57.13, 46.83, -47.61) |
| CIE-LCH | lch(57.13, 66.78, 314.53°) |
| OKLab | oklab(65% 0.1109 -0.1332) |
| OKLCH | oklch(65% 0.173 309.8) |
| XYZ | xyz(36.0904, 25.0601, 71.3285) |
| Luminance | 0.2506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.88
Light Purple
#BF77F6
ΔE00 4.99
Easter Purple
#C071FE
ΔE00 5.32
Mediumorchid
#BA55D3
ΔE00 5.63
Bright Lilac
#C95EFB
ΔE00 5.73
Bright Lavender
#C760FF
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6CDD #9ADD6C
analogous
#776CDD #AF6CDD #DD6CD3
triadic
#AF6CDD #DDAF6C #6CDDAF
tetradic
#AF6CDD #DD776C #9ADD6C #6CD3DD
square
#AF6CDD #DD776C #9ADD6C #6CD3DD
split-complementary
#AF6CDD #D3DD6C #6CDD77
monochromatic
#7327A8 #943AD2 #AF6CDD #CA9EE8 #E5CFF4
Accessibility & contrast
On white
3.49
#AF6CDD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#AF6CDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6CDD
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6CDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6CDD | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D86E1
Deuteranopia (green-blind)
#628ADA
Tritanopia (blue-blind)
#A97F9A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #af6cdd; /* rgb */ color: rgb(175, 108, 221); /* oklch */ color: oklch(65.0% 0.173 309.8);
Tailwind
colors: {
custom: {
50: '#c998e8',
500: '#af6cdd',
950: '#000000',
},
}SCSS
$custom: #af6cdd; $custom-light: #c998e8; $custom-dark: #000000;
JSON
{
"hex": "#af6cdd",
"rgb": {
"r": 175,
"g": 108,
"b": 221
},
"hsl": {
"h": 275.575,
"s": 62.431,
"l": 64.51
},
"oklch": {
"l": 0.64999,
"c": 0.17335,
"h": 309.8
},
"luminance": 0.2506
}Semantic roles & 50–950 ramp
primary
#AF6CDD
secondary
#CFE6BF
accent
#CA1B63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84