#AF7ECB#AF7ECB
#AF7ECB is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.0% C 0.122 H 312.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7ECB |
|---|---|
| RGB | rgb(175, 126, 203) |
| HSL | hsl(278, 43%, 65%) |
| HSV | hsv(278, 38%, 80%) |
| CMYK | cmyk(13.8%, 37.9%, 0%, 20.4%) |
| CIE-LAB | lab(60.20, 33.03, -32.65) |
| CIE-LCH | lch(60.20, 46.44, 315.33°) |
| OKLab | oklab(67.02% 0.0827 -0.09) |
| OKLCH | oklch(67.02% 0.122 312.6) |
| XYZ | xyz(35.9177, 28.3481, 60.0679) |
| Luminance | 0.2835 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 1.95
Pale Purple
#B790D4
ΔE00 5.11
Soft Purple
#A66FB5
ΔE00 5.42
Orchid (survey)
#C875C4
ΔE00 6.35
Deep Lilac
#966EBD
ΔE00 6.73
Light Purple
#BF77F6
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7ECB #9ACB7E
analogous
#897ECB #AF7ECB #CB7EC0
triadic
#AF7ECB #CBAF7E #7ECBAF
tetradic
#AF7ECB #CB897E #9ACB7E #7EC0CB
square
#AF7ECB #CB897E #9ACB7E #7EC0CB
split-complementary
#AF7ECB #C0CB7E #7ECB89
monochromatic
#733B93 #9452B9 #AF7ECB #CAAADD #E5D5EE
Accessibility & contrast
On white
3.15
#AF7ECB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#AF7ECB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7ECB
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7ECB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7ECB | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#708ECE
Deuteranopia (green-blind)
#7C92C9
Tritanopia (blue-blind)
#AD899B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #af7ecb; /* rgb */ color: rgb(175, 126, 203); /* oklch */ color: oklch(67.0% 0.122 312.6);
Tailwind
colors: {
custom: {
50: '#c8a4db',
500: '#af7ecb',
950: '#000000',
},
}SCSS
$custom: #af7ecb; $custom-light: #c8a4db; $custom-dark: #000000;
JSON
{
"hex": "#af7ecb",
"rgb": {
"r": 175,
"g": 126,
"b": 203
},
"hsl": {
"h": 278.182,
"s": 42.541,
"l": 64.51
},
"oklch": {
"l": 0.67017,
"c": 0.12226,
"h": 312.6
},
"luminance": 0.28347
}Semantic roles & 50–950 ramp
primary
#AF7ECB
secondary
#CFE0C5
accent
#B63061
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83