#AF7FDB#AF7FDB
#AF7FDB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.140 H 307.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7FDB |
|---|---|
| RGB | rgb(175, 127, 219) |
| HSL | hsl(271, 56%, 68%) |
| HSV | hsv(271, 42%, 86%) |
| CMYK | cmyk(20.1%, 42%, 0%, 14.1%) |
| CIE-LAB | lab(61.14, 36.01, -40.17) |
| CIE-LCH | lch(61.14, 53.95, 311.88°) |
| OKLab | oklab(67.96% 0.0844 -0.1117) |
| OKLCH | oklch(67.96% 0.14 307.1) |
| XYZ | xyz(38.0522, 29.4075, 70.6757) |
| Luminance | 0.2941 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.72
Light Purple
#BF77F6
ΔE00 5.16
Pale Purple
#B790D4
ΔE00 5.88
Light Urple
#B36FF6
ΔE00 6.14
Liliac
#C48EFD
ΔE00 6.39
Easter Purple
#C071FE
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7FDB #ABDB7F
analogous
#817FDB #AF7FDB #DB7FD9
triadic
#AF7FDB #DBAF7F #7FDBAF
tetradic
#AF7FDB #DB817F #ABDB7F #7FD9DB
square
#AF7FDB #DB817F #ABDB7F #7FD9DB
split-complementary
#AF7FDB #D9DB7F #7FDB81
monochromatic
#7331AF #914FCE #AF7FDB #CDAFE8 #EBDFF6
Accessibility & contrast
On white
3.05
#AF7FDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#AF7FDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7FDB
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7FDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7FDB | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A92DE
Deuteranopia (green-blind)
#7594D9
Tritanopia (blue-blind)
#A98EA3
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #af7fdb; /* rgb */ color: rgb(175, 127, 219); /* oklch */ color: oklch(68.0% 0.140 307.1);
Tailwind
colors: {
custom: {
50: '#c8a5e6',
500: '#af7fdb',
950: '#000000',
},
}SCSS
$custom: #af7fdb; $custom-light: #c8a5e6; $custom-dark: #000000;
JSON
{
"hex": "#af7fdb",
"rgb": {
"r": 175,
"g": 127,
"b": 219
},
"hsl": {
"h": 271.304,
"s": 56.098,
"l": 67.843
},
"oklch": {
"l": 0.67958,
"c": 0.14002,
"h": 307.1
},
"luminance": 0.29407
}Semantic roles & 50–950 ramp
primary
#AF7FDB
secondary
#DAE9CD
accent
#C4226F
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84