#CF3AB8#CF3AB8
#CF3AB8 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.226 H 335.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3AB8 |
|---|---|
| RGB | rgb(207, 58, 184) |
| HSL | hsl(309, 61%, 52%) |
| HSV | hsv(309, 72%, 81%) |
| CMYK | cmyk(0%, 72%, 11.1%, 18.8%) |
| CIE-LAB | lab(51.56, 70.21, -34.95) |
| CIE-LCH | lch(51.56, 78.43, 333.54°) |
| OKLab | oklab(61.23% 0.2048 -0.0955) |
| OKLCH | oklch(61.23% 0.226 335) |
| XYZ | xyz(35.8973, 19.7553, 47.2607) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.39
Pinky Purple
#C94CBE
ΔE00 2.73
Purpleish Pink
#DF4EC8
ΔE00 5.56
Pinkish Purple
#D648D7
ΔE00 5.60
Hot Magenta
#F504C9
ΔE00 5.89
Purple Pink
#D725DE
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3AB8 #3ACF51
analogous
#9C3ACF #CF3AB8 #CF3A6E
triadic
#CF3AB8 #B8CF3A #3AB8CF
tetradic
#CF3AB8 #CF9C3A #3ACF51 #3A6ECF
square
#CF3AB8 #CF9C3A #3ACF51 #3A6ECF
split-complementary
#CF3AB8 #6ECF3A #3ACF9C
monochromatic
#731C65 #A42891 #CF3AB8 #DB6BCA #E79CDB
Accessibility & contrast
On white
4.24
#CF3AB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#CF3AB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF3AB8
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3AB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF3AB8 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396DBB
Deuteranopia (green-blind)
#6E83B4
Tritanopia (blue-blind)
#D94675
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cf3ab8; /* rgb */ color: rgb(207, 58, 184); /* oklch */ color: oklch(61.2% 0.226 335.0);
Tailwind
colors: {
custom: {
50: '#e27ecd',
500: '#cf3ab8',
950: '#000000',
},
}SCSS
$custom: #cf3ab8; $custom-light: #e27ecd; $custom-dark: #000000;
JSON
{
"hex": "#cf3ab8",
"rgb": {
"r": 207,
"g": 58,
"b": 184
},
"hsl": {
"h": 309.262,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.61226,
"c": 0.22593,
"h": 335
},
"luminance": 0.19752
}Semantic roles & 50–950 ramp
primary
#CF3AB8
secondary
#92D39C
accent
#E45D44
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82