#B562F4#B562F4
#B562F4 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.215 H 307.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B562F4 |
|---|---|
| RGB | rgb(181, 98, 244) |
| HSL | hsl(274, 87%, 67%) |
| HSV | hsv(274, 60%, 96%) |
| CMYK | cmyk(25.8%, 59.8%, 0%, 4.3%) |
| CIE-LAB | lab(57.16, 58.55, -60.38) |
| CIE-LCH | lch(57.16, 84.10, 314.12°) |
| OKLab | oklab(65.59% 0.1318 -0.1703) |
| OKLCH | oklch(65.59% 0.215 307.7) |
| XYZ | xyz(39.7495, 25.0913, 88.3195) |
| Luminance | 0.2509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.90
Bright Lavender
#C760FF
ΔE00 3.09
Bright Lilac
#C95EFB
ΔE00 3.31
Lighter Purple
#A55AF4
ΔE00 3.68
Easter Purple
#C071FE
ΔE00 4.17
Light Purple
#BF77F6
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562F4 #A1F462
analogous
#6C62F4 #B562F4 #F462EA
triadic
#B562F4 #F4B562 #62F4B5
tetradic
#B562F4 #F46C62 #A1F462 #62EAF4
square
#B562F4 #F46C62 #A1F462 #62EAF4
split-complementary
#B562F4 #EAF462 #62F46C
monochromatic
#7B0ECD #9A29F0 #B562F4 #D09BF8 #EBD4FC
Accessibility & contrast
On white
3.49
#B562F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#B562F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562F4
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562F4 | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F86F9
Deuteranopia (green-blind)
#4A8AF1
Tritanopia (blue-blind)
#AB7FA2
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #b562f4; /* rgb */ color: rgb(181, 98, 244); /* oklch */ color: oklch(65.6% 0.215 307.7);
Tailwind
colors: {
custom: {
50: '#cf92f8',
500: '#b562f4',
950: '#000000',
},
}SCSS
$custom: #b562f4; $custom-light: #cf92f8; $custom-dark: #000000;
JSON
{
"hex": "#b562f4",
"rgb": {
"r": 181,
"g": 98,
"b": 244
},
"hsl": {
"h": 274.11,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.65585,
"c": 0.21536,
"h": 307.7
},
"luminance": 0.25091
}Semantic roles & 50–950 ramp
primary
#B562F4
secondary
#D6F0C2
accent
#E30263
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85