#AF7BCB#AF7BCB
#AF7BCB is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.5% C 0.127 H 313.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7BCB |
|---|---|
| RGB | rgb(175, 123, 203) |
| HSL | hsl(279, 43%, 64%) |
| HSV | hsv(279, 39%, 80%) |
| CMYK | cmyk(13.8%, 39.4%, 0%, 20.4%) |
| CIE-LAB | lab(59.52, 34.70, -33.71) |
| CIE-LCH | lch(59.52, 48.38, 315.83°) |
| OKLab | oklab(66.5% 0.0871 -0.0931) |
| OKLCH | oklch(66.5% 0.127 313.1) |
| XYZ | xyz(35.5399, 27.5924, 59.9420) |
| Luminance | 0.2759 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.26
Soft Purple
#A66FB5
ΔE00 4.93
Pale Purple
#B790D4
ΔE00 5.94
Orchid (survey)
#C875C4
ΔE00 6.12
Deep Lilac
#966EBD
ΔE00 6.24
Light Purple
#BF77F6
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7BCB #97CB7B
analogous
#877BCB #AF7BCB #CB7BBF
triadic
#AF7BCB #CBAF7B #7BCBAF
tetradic
#AF7BCB #CB877B #97CB7B #7BBFCB
square
#AF7BCB #CB877B #97CB7B #7BBFCB
split-complementary
#AF7BCB #BFCB7B #7BCB87
monochromatic
#733A92 #944FBA #AF7BCB #CAA7DC #E4D3EE
Accessibility & contrast
On white
3.22
#AF7BCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#AF7BCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7BCB
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7BCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7BCB | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C8CCE
Deuteranopia (green-blind)
#7991C9
Tritanopia (blue-blind)
#AD8699
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #af7bcb; /* rgb */ color: rgb(175, 123, 203); /* oklch */ color: oklch(66.5% 0.127 313.1);
Tailwind
colors: {
custom: {
50: '#c8a2db',
500: '#af7bcb',
950: '#000000',
},
}SCSS
$custom: #af7bcb; $custom-light: #c8a2db; $custom-dark: #000000;
JSON
{
"hex": "#af7bcb",
"rgb": {
"r": 175,
"g": 123,
"b": 203
},
"hsl": {
"h": 279,
"s": 43.478,
"l": 63.922
},
"oklch": {
"l": 0.66501,
"c": 0.12748,
"h": 313.1
},
"luminance": 0.27592
}Semantic roles & 50–950 ramp
primary
#AF7BCB
secondary
#CDDFC3
accent
#B72F5E
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83