#C45FDB#C45FDB
#C45FDB is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.5% C 0.200 H 319.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #C45FDB |
|---|---|
| RGB | rgb(196, 95, 219) |
| HSL | hsl(289, 63%, 62%) |
| HSV | hsv(289, 57%, 86%) |
| CMYK | cmyk(10.5%, 56.6%, 0%, 14.1%) |
| CIE-LAB | lab(57.11, 58.44, -46.35) |
| CIE-LCH | lch(57.11, 74.59, 321.58°) |
| OKLab | oklab(65.5% 0.153 -0.129) |
| OKLCH | oklch(65.5% 0.2 319.9) |
| XYZ | xyz(39.6418, 25.0364, 69.7485) |
| Luminance | 0.2504 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.28
Pinkish Purple
#D648D7
ΔE00 4.26
Heliotrope
#D94FF5
ΔE00 4.50
Bright Lilac
#C95EFB
ΔE00 4.69
Bright Lavender
#C760FF
ΔE00 5.34
Pinky Purple
#C94CBE
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C45FDB #76DB5F
analogous
#865FDB #C45FDB #DB5FB4
triadic
#C45FDB #DBC45F #5FDBC4
tetradic
#C45FDB #DB865F #76DB5F #5FB4DB
square
#C45FDB #DB865F #76DB5F #5FB4DB
split-complementary
#C45FDB #B4DB5F #5FDB86
monochromatic
#86239C #B12ECE #C45FDB #D691E6 #E9C3F1
Accessibility & contrast
On white
3.50
#C45FDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#C45FDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C45FDB
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C45FDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C45FDB | 1.00 | 3.50 | 6.01 | 6.01 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#688DD8
Tritanopia (blue-blind)
#C57294
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #c45fdb; /* rgb */ color: rgb(196, 95, 219); /* oklch */ color: oklch(65.5% 0.200 319.9);
Tailwind
colors: {
custom: {
50: '#d991e7',
500: '#c45fdb',
950: '#000000',
},
}SCSS
$custom: #c45fdb; $custom-light: #d991e7; $custom-dark: #000000;
JSON
{
"hex": "#c45fdb",
"rgb": {
"r": 196,
"g": 95,
"b": 219
},
"hsl": {
"h": 288.871,
"s": 63.265,
"l": 61.569
},
"oklch": {
"l": 0.655,
"c": 0.20008,
"h": 319.9
},
"luminance": 0.25035
}Semantic roles & 50–950 ramp
primary
#C45FDB
secondary
#BCE2B4
accent
#CB1A3B
background
#FDF9FE
surface
#FBF1FC
border
#D4CBD5
text
#150D16
muted
#837E84