#B562FC#B562FC
#B562FC is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.1% C 0.224 H 306.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B562FC |
|---|---|
| RGB | rgb(181, 98, 252) |
| HSL | hsl(272, 96%, 69%) |
| HSV | hsv(272, 61%, 99%) |
| CMYK | cmyk(28.2%, 61.1%, 0%, 1.2%) |
| CIE-LAB | lab(57.64, 60.33, -64.04) |
| CIE-LCH | lch(57.64, 87.99, 313.29°) |
| OKLab | oklab(66.09% 0.1315 -0.1811) |
| OKLCH | oklch(66.09% 0.224 306) |
| XYZ | xyz(40.9907, 25.5877, 94.8561) |
| Luminance | 0.2559 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.85
Bright Lavender
#C760FF
ΔE00 3.01
Bright Lilac
#C95EFB
ΔE00 3.46
Lighter Purple
#A55AF4
ΔE00 3.71
Easter Purple
#C071FE
ΔE00 3.99
Light Purple
#BF77F6
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562FC #A9FC62
analogous
#6862FC #B562FC #FC62F6
triadic
#B562FC #FCB562 #62FCB5
tetradic
#B562FC #FC6862 #A9FC62 #62F6FC
square
#B562FC #FC6862 #A9FC62 #62F6FC
split-complementary
#B562FC #F6FC62 #62FC68
monochromatic
#7A04DF #9926FB #B562FC #D19EFD #EEDAFE
Accessibility & contrast
On white
3.43
#B562FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#B562FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562FC
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562FC | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#418BF8
Tritanopia (blue-blind)
#A981A6
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #b562fc; /* rgb */ color: rgb(181, 98, 252); /* oklch */ color: oklch(66.1% 0.224 306.0);
Tailwind
colors: {
custom: {
50: '#cf93fe',
500: '#b562fc',
950: '#000000',
},
}SCSS
$custom: #b562fc; $custom-light: #cf93fe; $custom-dark: #000000;
JSON
{
"hex": "#b562fc",
"rgb": {
"r": 181,
"g": 98,
"b": 252
},
"hsl": {
"h": 272.338,
"s": 96.25,
"l": 68.627
},
"oklch": {
"l": 0.66087,
"c": 0.22383,
"h": 306
},
"luminance": 0.25587
}Semantic roles & 50–950 ramp
primary
#B562FC
secondary
#DBF4C6
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86