#AF7FCB#AF7FCB
#AF7FCB is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.2% C 0.121 H 312.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7FCB |
|---|---|
| RGB | rgb(175, 127, 203) |
| HSL | hsl(278, 42%, 65%) |
| HSV | hsv(278, 37%, 80%) |
| CMYK | cmyk(13.8%, 37.4%, 0%, 20.4%) |
| CIE-LAB | lab(60.43, 32.47, -32.29) |
| CIE-LCH | lch(60.43, 45.79, 315.16°) |
| OKLab | oklab(67.19% 0.0812 -0.089) |
| OKLCH | oklch(67.19% 0.121 312.4) |
| XYZ | xyz(36.0462, 28.6051, 60.1108) |
| Luminance | 0.2861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 1.92
Pale Purple
#B790D4
ΔE00 4.83
Soft Purple
#A66FB5
ΔE00 5.61
Orchid (survey)
#C875C4
ΔE00 6.45
Deep Lilac
#966EBD
ΔE00 6.91
Light Purple
#BF77F6
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7FCB #9BCB7F
analogous
#897FCB #AF7FCB #CB7FC1
triadic
#AF7FCB #CBAF7F #7FCBAF
tetradic
#AF7FCB #CB897F #9BCB7F #7FC1CB
square
#AF7FCB #CB897F #9BCB7F #7FC1CB
split-complementary
#AF7FCB #C1CB7F #7FCB89
monochromatic
#733C94 #9453B9 #AF7FCB #CAABDD #E5D6EE
Accessibility & contrast
On white
3.12
#AF7FCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#AF7FCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7FCB
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7FCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7FCB | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#718FCE
Deuteranopia (green-blind)
#7D93C9
Tritanopia (blue-blind)
#AC899C
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #af7fcb; /* rgb */ color: rgb(175, 127, 203); /* oklch */ color: oklch(67.2% 0.121 312.4);
Tailwind
colors: {
custom: {
50: '#c8a5db',
500: '#af7fcb',
950: '#000000',
},
}SCSS
$custom: #af7fcb; $custom-light: #c8a5db; $custom-dark: #000000;
JSON
{
"hex": "#af7fcb",
"rgb": {
"r": 175,
"g": 127,
"b": 203
},
"hsl": {
"h": 277.895,
"s": 42.222,
"l": 64.706
},
"oklch": {
"l": 0.67191,
"c": 0.12052,
"h": 312.4
},
"luminance": 0.28605
}Semantic roles & 50–950 ramp
primary
#AF7FCB
secondary
#CFE0C6
accent
#B53061
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83