#B245CD#B245CD
#B245CD is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.215 H 319.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B245CD |
|---|---|
| RGB | rgb(178, 69, 205) |
| HSL | hsl(288, 58%, 54%) |
| HSV | hsv(288, 66%, 80%) |
| CMYK | cmyk(13.2%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(49.65, 63.05, -50.39) |
| CIE-LCH | lch(49.65, 80.71, 321.36°) |
| OKLab | oklab(59.34% 0.1625 -0.141) |
| OKLCH | oklch(59.34% 0.215 319) |
| XYZ | xyz(31.5062, 18.1304, 59.5857) |
| Luminance | 0.1813 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.11
Lightish Purple
#A552E6
ΔE00 5.44
Purple Pink
#D725DE
ΔE00 5.94
Purpley Pink
#C83CB9
ΔE00 5.97
Hot Purple
#CB00F5
ΔE00 6.31
Amethyst
#9B5FC0
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B245CD #60CD45
analogous
#6E45CD #B245CD #CD45A4
triadic
#B245CD #CDB245 #45CDB2
tetradic
#B245CD #CD6E45 #60CD45 #45A4CD
square
#B245CD #CD6E45 #60CD45 #45A4CD
split-complementary
#B245CD #A4CD45 #45CD6E
monochromatic
#662077 #8F2DA8 #B245CD #C675DA #DAA5E7
Accessibility & contrast
On white
4.54
#B245CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#B245CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B245CD
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B245CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B245CD | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#106FD1
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#B25D83
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #b245cd; /* rgb */ color: rgb(178, 69, 205); /* oklch */ color: oklch(59.3% 0.215 319.0);
Tailwind
colors: {
custom: {
50: '#cd81dd',
500: '#b245cd',
950: '#000000',
},
}SCSS
$custom: #b245cd; $custom-light: #cd81dd; $custom-dark: #000000;
JSON
{
"hex": "#b245cd",
"rgb": {
"r": 178,
"g": 69,
"b": 205
},
"hsl": {
"h": 288.088,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.59335,
"c": 0.21515,
"h": 319
},
"luminance": 0.18129
}Semantic roles & 50–950 ramp
primary
#B245CD
secondary
#A5D49A
accent
#E14765
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83