#B045CF#B045CF
#B045CF is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.216 H 317.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B045CF |
|---|---|
| RGB | rgb(176, 69, 207) |
| HSL | hsl(287, 59%, 54%) |
| HSV | hsv(287, 67%, 81%) |
| CMYK | cmyk(15%, 66.7%, 0%, 18.8%) |
| CIE-LAB | lab(49.49, 62.98, -51.82) |
| CIE-LCH | lch(49.49, 81.56, 320.55°) |
| OKLab | oklab(59.2% 0.16 -0.1453) |
| OKLCH | oklch(59.2% 0.216 317.8) |
| XYZ | xyz(31.2935, 17.9927, 60.8439) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.35
Lightish Purple
#A552E6
ΔE00 5.01
Hot Purple
#CB00F5
ΔE00 6.19
Purple Pink
#D725DE
ΔE00 6.24
Amethyst
#9B5FC0
ΔE00 6.25
Purply
#983FB2
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B045CF #64CF45
analogous
#6B45CF #B045CF #CF45A9
triadic
#B045CF #CFB045 #45CFB0
tetradic
#B045CF #CF6B45 #64CF45 #45A9CF
square
#B045CF #CF6B45 #64CF45 #45A9CF
split-complementary
#B045CF #A9CF45 #45CF6B
monochromatic
#66207A #8E2CAB #B045CF #C576DC #D9A6E8
Accessibility & contrast
On white
4.57
#B045CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#B045CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B045CF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B045CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B045CF | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036FD3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#AF5F85
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #b045cf; /* rgb */ color: rgb(176, 69, 207); /* oklch */ color: oklch(59.2% 0.216 317.8);
Tailwind
colors: {
custom: {
50: '#cb81de',
500: '#b045cf',
950: '#000000',
},
}SCSS
$custom: #b045cf; $custom-light: #cb81de; $custom-dark: #000000;
JSON
{
"hex": "#b045cf",
"rgb": {
"r": 176,
"g": 69,
"b": 207
},
"hsl": {
"h": 286.522,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.59195,
"c": 0.21614,
"h": 317.8
},
"luminance": 0.17991
}Semantic roles & 50–950 ramp
primary
#B045CF
secondary
#A8D59B
accent
#E24669
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83