#B04FE6#B04FE6
#B04FE6 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.8% C 0.225 H 311.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B04FE6 |
|---|---|
| RGB | rgb(176, 79, 230) |
| HSL | hsl(279, 75%, 61%) |
| HSV | hsv(279, 66%, 90%) |
| CMYK | cmyk(23.5%, 65.7%, 0%, 9.8%) |
| CIE-LAB | lab(52.44, 63.33, -60.17) |
| CIE-LCH | lch(52.44, 87.35, 316.47°) |
| OKLab | oklab(61.76% 0.1478 -0.1698) |
| OKLCH | oklch(61.76% 0.225 311) |
| XYZ | xyz(34.9807, 20.5361, 76.9687) |
| Luminance | 0.2054 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.96
Lighter Purple
#A55AF4
ΔE00 3.68
Mediumorchid
#BA55D3
ΔE00 4.24
Neon Purple
#BC13FE
ΔE00 5.92
Hot Purple
#CB00F5
ΔE00 6.04
Bright Purple
#BE03FD
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B04FE6 #85E64F
analogous
#644FE6 #B04FE6 #E64FD0
triadic
#B04FE6 #E6B04F #4FE6B0
tetradic
#B04FE6 #E6644F #85E64F #4FD0E6
square
#B04FE6 #E6644F #85E64F #4FD0E6
split-complementary
#B04FE6 #D0E64F #4FE664
monochromatic
#7117A3 #961FD9 #B04FE6 #C885EE #E0BAF5
Accessibility & contrast
On white
4.11
#B04FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#B04FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B04FE6
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B04FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B04FE6 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#A96E94
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #b04fe6; /* rgb */ color: rgb(176, 79, 230); /* oklch */ color: oklch(61.8% 0.225 311.0);
Tailwind
colors: {
custom: {
50: '#cc87ef',
500: '#b04fe6',
950: '#000000',
},
}SCSS
$custom: #b04fe6; $custom-light: #cc87ef; $custom-dark: #000000;
JSON
{
"hex": "#b04fe6",
"rgb": {
"r": 176,
"g": 79,
"b": 230
},
"hsl": {
"h": 278.543,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.61763,
"c": 0.22511,
"h": 311
},
"luminance": 0.20535
}Semantic roles & 50–950 ramp
primary
#B04FE6
secondary
#C0E5AC
accent
#D70E56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84