#B052E0#B052E0
#B052E0 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.215 H 312.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B052E0 |
|---|---|
| RGB | rgb(176, 82, 224) |
| HSL | hsl(280, 70%, 60%) |
| HSV | hsv(280, 63%, 88%) |
| CMYK | cmyk(21.4%, 63.4%, 0%, 12.2%) |
| CIE-LAB | lab(52.56, 60.71, -56.58) |
| CIE-LCH | lch(52.56, 82.99, 317.02°) |
| OKLab | oklab(61.73% 0.1448 -0.1593) |
| OKLCH | oklch(61.73% 0.215 312.3) |
| XYZ | xyz(34.3739, 20.6474, 72.6812) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.44
Mediumorchid
#BA55D3
ΔE00 3.38
Lighter Purple
#A55AF4
ΔE00 4.17
Amethyst
#9B5FC0
ΔE00 6.05
Bright Lilac
#C95EFB
ΔE00 6.49
Hot Purple
#CB00F5
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B052E0 #82E052
analogous
#6952E0 #B052E0 #E052C9
triadic
#B052E0 #E0B052 #52E0B0
tetradic
#B052E0 #E06952 #82E052 #52C9E0
square
#B052E0 #E06952 #82E052 #52C9E0
split-complementary
#B052E0 #C9E052 #52E069
monochromatic
#701C9C #9625D0 #B052E0 #C886E9 #DFBAF3
Accessibility & contrast
On white
4.09
#B052E0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#B052E0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B052E0
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B052E0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B052E0 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0779E4
Deuteranopia (green-blind)
#477FDD
Tritanopia (blue-blind)
#AB6E92
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #b052e0; /* rgb */ color: rgb(176, 82, 224); /* oklch */ color: oklch(61.7% 0.215 312.3);
Tailwind
colors: {
custom: {
50: '#cb88ea',
500: '#b052e0',
950: '#000000',
},
}SCSS
$custom: #b052e0; $custom-light: #cb88ea; $custom-dark: #000000;
JSON
{
"hex": "#b052e0",
"rgb": {
"r": 176,
"g": 82,
"b": 224
},
"hsl": {
"h": 279.718,
"s": 69.608,
"l": 60
},
"oklch": {
"l": 0.61735,
"c": 0.21526,
"h": 312.3
},
"luminance": 0.20647
}Semantic roles & 50–950 ramp
primary
#B052E0
secondary
#BEE2AC
accent
#EC3B77
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84