#B062E5#B062E5
#B062E5 is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.1% C 0.198 H 309.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B062E5 |
|---|---|
| RGB | rgb(176, 98, 229) |
| HSL | hsl(276, 72%, 64%) |
| HSV | hsv(276, 57%, 90%) |
| CMYK | cmyk(23.1%, 57.2%, 0%, 10.2%) |
| CIE-LAB | lab(55.71, 54.05, -54.36) |
| CIE-LCH | lch(55.71, 76.66, 314.84°) |
| OKLab | oklab(64.12% 0.1255 -0.1529) |
| OKLCH | oklch(64.12% 0.198 309.4) |
| XYZ | xyz(36.4123, 23.6232, 76.7551) |
| Luminance | 0.2362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.86
Light Urple
#B36FF6
ΔE00 4.03
Lightish Purple
#A552E6
ΔE00 4.53
Mediumorchid
#BA55D3
ΔE00 4.57
Bright Lilac
#C95EFB
ΔE00 4.65
Bright Lavender
#C760FF
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B062E5 #97E562
analogous
#6F62E5 #B062E5 #E562D9
triadic
#B062E5 #E5B062 #62E5B0
tetradic
#B062E5 #E56F62 #97E562 #62D9E5
square
#B062E5 #E56F62 #97E562 #62D9E5
split-complementary
#B062E5 #D9E562 #62E56F
monochromatic
#741DB0 #962DDC #B062E5 #CA97EE #E5CBF6
Accessibility & contrast
On white
3.67
#B062E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#B062E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B062E5
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B062E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B062E5 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#5387E2
Tritanopia (blue-blind)
#A97A9A
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b062e5; /* rgb */ color: rgb(176, 98, 229); /* oklch */ color: oklch(64.1% 0.198 309.4);
Tailwind
colors: {
custom: {
50: '#cb92ee',
500: '#b062e5',
950: '#000000',
},
}SCSS
$custom: #b062e5; $custom-light: #cb92ee; $custom-dark: #000000;
JSON
{
"hex": "#b062e5",
"rgb": {
"r": 176,
"g": 98,
"b": 229
},
"hsl": {
"h": 275.725,
"s": 71.585,
"l": 64.118
},
"oklch": {
"l": 0.64116,
"c": 0.19781,
"h": 309.4
},
"luminance": 0.23623
}Semantic roles & 50–950 ramp
primary
#B062E5
secondary
#CDE8BB
accent
#D41260
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84