#B04CE3#B04CE3
#B04CE3 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.2% C 0.226 H 312.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B04CE3 |
|---|---|
| RGB | rgb(176, 76, 227) |
| HSL | hsl(280, 73%, 59%) |
| HSV | hsv(280, 67%, 89%) |
| CMYK | cmyk(22.5%, 66.5%, 0%, 11%) |
| CIE-LAB | lab(51.78, 64.02, -59.54) |
| CIE-LCH | lch(51.78, 87.42, 317.08°) |
| OKLab | oklab(61.23% 0.1513 -0.1679) |
| OKLCH | oklch(61.23% 0.226 312) |
| XYZ | xyz(34.3515, 19.9459, 74.6985) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.19
Mediumorchid
#BA55D3
ΔE00 4.19
Lighter Purple
#A55AF4
ΔE00 4.35
Neon Purple
#BC13FE
ΔE00 5.60
Hot Purple
#CB00F5
ΔE00 5.67
Bright Purple
#BE03FD
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B04CE3 #7FE34C
analogous
#654CE3 #B04CE3 #E34CCB
triadic
#B04CE3 #E3B04C #4CE3B0
tetradic
#B04CE3 #E3654C #7FE34C #4CCBE3
square
#B04CE3 #E3654C #7FE34C #4CCBE3
split-complementary
#B04CE3 #CBE34C #4CE365
monochromatic
#70189C #9621D1 #B04CE3 #C781EB #DFB6F4
Accessibility & contrast
On white
4.21
#B04CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#B04CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B04CE3
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B04CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B04CE3 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#3D7DE0
Tritanopia (blue-blind)
#AA6B92
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b04ce3; /* rgb */ color: rgb(176, 76, 227); /* oklch */ color: oklch(61.2% 0.226 312.0);
Tailwind
colors: {
custom: {
50: '#cc85ed',
500: '#b04ce3',
950: '#000000',
},
}SCSS
$custom: #b04ce3; $custom-light: #cc85ed; $custom-dark: #000000;
JSON
{
"hex": "#b04ce3",
"rgb": {
"r": 176,
"g": 76,
"b": 227
},
"hsl": {
"h": 279.735,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.61228,
"c": 0.22602,
"h": 312
},
"luminance": 0.19945
}Semantic roles & 50–950 ramp
primary
#B04CE3
secondary
#BCE3A8
accent
#F03876
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84