#B245CF#B245CF
#B245CF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.217 H 318.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B245CF |
|---|---|
| RGB | rgb(178, 69, 207) |
| HSL | hsl(287, 59%, 54%) |
| HSV | hsv(287, 67%, 81%) |
| CMYK | cmyk(14%, 66.7%, 0%, 18.8%) |
| CIE-LAB | lab(49.77, 63.43, -51.35) |
| CIE-LCH | lch(49.77, 81.61, 321.00°) |
| OKLab | oklab(59.46% 0.1624 -0.1439) |
| OKLCH | oklch(59.46% 0.217 318.5) |
| XYZ | xyz(31.7492, 18.2276, 60.8653) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.05
Lightish Purple
#A552E6
ΔE00 5.16
Purple Pink
#D725DE
ΔE00 5.90
Hot Purple
#CB00F5
ΔE00 6.10
Purpley Pink
#C83CB9
ΔE00 6.20
Amethyst
#9B5FC0
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B245CF #62CF45
analogous
#6D45CF #B245CF #CF45A7
triadic
#B245CF #CFB245 #45CFB2
tetradic
#B245CF #CF6D45 #62CF45 #45A7CF
square
#B245CF #CF6D45 #62CF45 #45A7CF
split-complementary
#B245CF #A7CF45 #45CF6D
monochromatic
#67207A #902CAB #B245CF #C676DC #DAA6E8
Accessibility & contrast
On white
4.52
#B245CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#B245CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B245CF
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B245CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B245CF | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#096FD3
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#B25E85
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #b245cf; /* rgb */ color: rgb(178, 69, 207); /* oklch */ color: oklch(59.5% 0.217 318.5);
Tailwind
colors: {
custom: {
50: '#cd81de',
500: '#b245cf',
950: '#000000',
},
}SCSS
$custom: #b245cf; $custom-light: #cd81de; $custom-dark: #000000;
JSON
{
"hex": "#b245cf",
"rgb": {
"r": 178,
"g": 69,
"b": 207
},
"hsl": {
"h": 287.391,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.59457,
"c": 0.21695,
"h": 318.5
},
"luminance": 0.18226
}Semantic roles & 50–950 ramp
primary
#B245CF
secondary
#A7D59B
accent
#E24667
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83