#B582FC#B582FC
#B582FC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.8% C 0.177 H 301.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B582FC |
|---|---|
| RGB | rgb(181, 130, 252) |
| HSL | hsl(265, 95%, 75%) |
| HSV | hsv(265, 48%, 99%) |
| CMYK | cmyk(28.2%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(64.01, 43.67, -53.87) |
| CIE-LCH | lch(64.01, 69.35, 309.03°) |
| OKLab | oklab(70.77% 0.0921 -0.1514) |
| OKLCH | oklch(70.77% 0.177 301.3) |
| XYZ | xyz(44.6054, 32.8172, 96.0610) |
| Luminance | 0.3282 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.56
Liliac
#C48EFD
ΔE00 3.98
Easter Purple
#C071FE
ΔE00 4.40
Light Urple
#B36FF6
ΔE00 4.68
Baby Purple
#CA9BF7
ΔE00 7.65
Periwinkle (survey)
#8E82FE
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B582FC #C9FC82
analogous
#828CFC #B582FC #F282FC
triadic
#B582FC #FCB582 #82FCB5
tetradic
#B582FC #FC828C #C9FC82 #82FCF2
square
#B582FC #FC828C #C9FC82 #82FCF2
split-complementary
#B582FC #FCF282 #8CFC82
monochromatic
#6E0AF9 #9246FB #B582FC #D8BEFD #EDE1FE
Accessibility & contrast
On white
2.78
#B582FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#B582FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B582FC
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B582FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B582FC | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#A798B3
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b582fc; /* rgb */ color: rgb(181, 130, 252); /* oklch */ color: oklch(70.8% 0.177 301.3);
Tailwind
colors: {
custom: {
50: '#cea7fe',
500: '#b582fc',
950: '#000000',
},
}SCSS
$custom: #b582fc; $custom-light: #cea7fe; $custom-dark: #000000;
JSON
{
"hex": "#b582fc",
"rgb": {
"r": 181,
"g": 130,
"b": 252
},
"hsl": {
"h": 265.082,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.70773,
"c": 0.1772,
"h": 301.3
},
"luminance": 0.32817
}Semantic roles & 50–950 ramp
primary
#B582FC
secondary
#E8F7D4
accent
#E60086
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86