#AF6FB3#AF6FB3
#AF6FB3 is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.4% C 0.122 H 324.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AF6FB3 |
|---|---|
| RGB | rgb(175, 111, 179) |
| HSL | hsl(296, 31%, 57%) |
| HSV | hsv(296, 38%, 70%) |
| CMYK | cmyk(2.2%, 38%, 0%, 29.8%) |
| CIE-LAB | lab(55.83, 36.42, -25.76) |
| CIE-LCH | lch(55.83, 44.61, 324.73°) |
| OKLab | oklab(63.39% 0.0997 -0.0703) |
| OKLCH | oklch(63.39% 0.122 324.8) |
| XYZ | xyz(31.4995, 23.7388, 45.5619) |
| Luminance | 0.2374 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.30
Dark Lilac
#9C6DA5
ΔE00 4.39
Orchid (survey)
#C875C4
ΔE00 5.26
Wisteria
#A87DC2
ΔE00 5.38
Deep Lilac
#966EBD
ΔE00 7.04
Purplish Pink
#CE5DAE
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF6FB3 #73B36F
analogous
#8D6FB3 #AF6FB3 #B36F95
triadic
#AF6FB3 #B3AF6F #6FB3AF
tetradic
#AF6FB3 #B38D6F #73B36F #6F95B3
square
#AF6FB3 #B38D6F #73B36F #6F95B3
split-complementary
#AF6FB3 #95B36F #6FB38D
monochromatic
#6B3A6E #924F96 #AF6FB3 #C597C8 #DCBFDD
Accessibility & contrast
On white
3.65
#AF6FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#AF6FB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF6FB3
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF6FB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF6FB3 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6981B5
Deuteranopia (green-blind)
#7989B1
Tritanopia (blue-blind)
#B27689
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #af6fb3; /* rgb */ color: rgb(175, 111, 179); /* oklch */ color: oklch(63.4% 0.122 324.8);
Tailwind
colors: {
custom: {
50: '#c899ca',
500: '#af6fb3',
950: '#000000',
},
}SCSS
$custom: #af6fb3; $custom-light: #c899ca; $custom-dark: #000000;
JSON
{
"hex": "#af6fb3",
"rgb": {
"r": 175,
"g": 111,
"b": 179
},
"hsl": {
"h": 296.471,
"s": 30.909,
"l": 56.863
},
"oklch": {
"l": 0.63386,
"c": 0.122,
"h": 324.8
},
"luminance": 0.23738
}Semantic roles & 50–950 ramp
primary
#AF6FB3
secondary
#B3CDB1
accent
#C76167
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E13
muted
#827E82