#AF6ECE#AF6ECE
#AF6ECE is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.5% C 0.153 H 314.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6ECE |
|---|---|
| RGB | rgb(175, 110, 206) |
| HSL | hsl(281, 49%, 62%) |
| HSV | hsv(281, 47%, 81%) |
| CMYK | cmyk(15%, 46.6%, 0%, 19.2%) |
| CIE-LAB | lab(56.80, 42.49, -39.66) |
| CIE-LCH | lch(56.80, 58.12, 316.98°) |
| OKLab | oklab(64.51% 0.1064 -0.1101) |
| OKLCH | oklch(64.51% 0.153 314) |
| XYZ | xyz(34.3939, 24.7229, 61.3407) |
| Luminance | 0.2472 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 4.88
Deep Lilac
#966EBD
ΔE00 5.38
Wisteria
#A87DC2
ΔE00 5.40
Mediumorchid
#BA55D3
ΔE00 5.78
Amethyst
#9B5FC0
ΔE00 6.04
Light Urple
#B36FF6
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6ECE #8DCE6E
analogous
#7F6ECE #AF6ECE #CE6EBD
triadic
#AF6ECE #CEAF6E #6ECEAF
tetradic
#AF6ECE #CE7F6E #8DCE6E #6EBDCE
square
#AF6ECE #CE7F6E #8DCE6E #6EBDCE
split-complementary
#AF6ECE #BDCE6E #6ECE7F
monochromatic
#723191 #9640BE #AF6ECE #C89CDD #E1C9ED
Accessibility & contrast
On white
3.53
#AF6ECE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#AF6ECE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6ECE
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6ECE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6ECE | 1.00 | 3.53 | 5.94 | 5.94 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A85D1
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#AD7C94
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af6ece; /* rgb */ color: rgb(175, 110, 206); /* oklch */ color: oklch(64.5% 0.153 314.0);
Tailwind
colors: {
custom: {
50: '#c999dd',
500: '#af6ece',
950: '#000000',
},
}SCSS
$custom: #af6ece; $custom-light: #c999dd; $custom-dark: #000000;
JSON
{
"hex": "#af6ece",
"rgb": {
"r": 175,
"g": 110,
"b": 206
},
"hsl": {
"h": 280.625,
"s": 49.485,
"l": 61.961
},
"oklch": {
"l": 0.64511,
"c": 0.15313,
"h": 314
},
"luminance": 0.24722
}Semantic roles & 50–950 ramp
primary
#AF6ECE
secondary
#C6DEBA
accent
#BD2959
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83