#AF7BCA#AF7BCA
#AF7BCA is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.5% C 0.126 H 313.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7BCA |
|---|---|
| RGB | rgb(175, 123, 202) |
| HSL | hsl(279, 43%, 64%) |
| HSV | hsv(279, 39%, 79%) |
| CMYK | cmyk(13.4%, 39.1%, 0%, 20.8%) |
| CIE-LAB | lab(59.48, 34.49, -33.21) |
| CIE-LCH | lch(59.48, 47.88, 316.08°) |
| OKLab | oklab(66.45% 0.0869 -0.0916) |
| OKLCH | oklch(66.45% 0.126 313.5) |
| XYZ | xyz(35.4211, 27.5448, 59.3164) |
| Luminance | 0.2754 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.13
Soft Purple
#A66FB5
ΔE00 4.80
Pale Purple
#B790D4
ΔE00 5.93
Orchid (survey)
#C875C4
ΔE00 6.02
Deep Lilac
#966EBD
ΔE00 6.25
Light Purple
#BF77F6
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7BCA #96CA7B
analogous
#877BCA #AF7BCA #CA7BBD
triadic
#AF7BCA #CAAF7B #7BCAAF
tetradic
#AF7BCA #CA877B #96CA7B #7BBDCA
square
#AF7BCA #CA877B #96CA7B #7BBDCA
split-complementary
#AF7BCA #BDCA7B #7BCA87
monochromatic
#733A91 #954FB8 #AF7BCA #C9A7DC #E4D2ED
Accessibility & contrast
On white
3.23
#AF7BCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#AF7BCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7BCA
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7BCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7BCA | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D8CCD
Deuteranopia (green-blind)
#7A91C8
Tritanopia (blue-blind)
#AD8699
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #af7bca; /* rgb */ color: rgb(175, 123, 202); /* oklch */ color: oklch(66.5% 0.126 313.5);
Tailwind
colors: {
custom: {
50: '#c8a2da',
500: '#af7bca',
950: '#000000',
},
}SCSS
$custom: #af7bca; $custom-light: #c8a2da; $custom-dark: #000000;
JSON
{
"hex": "#af7bca",
"rgb": {
"r": 175,
"g": 123,
"b": 202
},
"hsl": {
"h": 279.494,
"s": 42.703,
"l": 63.725
},
"oklch": {
"l": 0.66454,
"c": 0.1263,
"h": 313.5
},
"luminance": 0.27544
}Semantic roles & 50–950 ramp
primary
#AF7BCA
secondary
#CCDEC2
accent
#B6305E
background
#FCFAFD
surface
#F8F3FA
border
#D1CDD3
text
#130F15
muted
#827F83