#B562F3#B562F3
#B562F3 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.214 H 307.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B562F3 |
|---|---|
| RGB | rgb(181, 98, 243) |
| HSL | hsl(274, 86%, 67%) |
| HSV | hsv(274, 60%, 95%) |
| CMYK | cmyk(25.5%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(57.11, 58.33, -59.91) |
| CIE-LCH | lch(57.11, 83.62, 314.23°) |
| OKLab | oklab(65.52% 0.1318 -0.169) |
| OKLCH | oklch(65.52% 0.214 307.9) |
| XYZ | xyz(39.5981, 25.0307, 87.5220) |
| Luminance | 0.2503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.94
Bright Lavender
#C760FF
ΔE00 3.12
Bright Lilac
#C95EFB
ΔE00 3.31
Lighter Purple
#A55AF4
ΔE00 3.70
Easter Purple
#C071FE
ΔE00 4.22
Light Purple
#BF77F6
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562F3 #A0F362
analogous
#6D62F3 #B562F3 #F362E8
triadic
#B562F3 #F3B562 #62F3B5
tetradic
#B562F3 #F36D62 #A0F362 #62E8F3
square
#B562F3 #F36D62 #A0F362 #62E8F3
split-complementary
#B562F3 #E8F362 #62F36D
monochromatic
#7B10CB #9A29EF #B562F3 #D09BF7 #EBD4FC
Accessibility & contrast
On white
3.50
#B562F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#B562F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562F3
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562F3 | 1.00 | 3.50 | 6.01 | 6.01 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2186F8
Deuteranopia (green-blind)
#4B8AF0
Tritanopia (blue-blind)
#AC7EA2
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b562f3; /* rgb */ color: rgb(181, 98, 243); /* oklch */ color: oklch(65.5% 0.214 307.9);
Tailwind
colors: {
custom: {
50: '#cf92f8',
500: '#b562f3',
950: '#000000',
},
}SCSS
$custom: #b562f3; $custom-light: #cf92f8; $custom-dark: #000000;
JSON
{
"hex": "#b562f3",
"rgb": {
"r": 181,
"g": 98,
"b": 243
},
"hsl": {
"h": 274.345,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.65523,
"c": 0.2143,
"h": 307.9
},
"luminance": 0.2503
}Semantic roles & 50–950 ramp
primary
#B562F3
secondary
#D5F0C1
accent
#E20363
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85