#B162F5#B162F5
#B162F5 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.2% C 0.215 H 306.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B162F5 |
|---|---|
| RGB | rgb(177, 98, 245) |
| HSL | hsl(272, 88%, 67%) |
| HSV | hsv(272, 60%, 96%) |
| CMYK | cmyk(27.8%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(56.76, 57.86, -61.61) |
| CIE-LCH | lch(56.76, 84.52, 313.20°) |
| OKLab | oklab(65.21% 0.1268 -0.1741) |
| OKLCH | oklch(65.21% 0.215 306.1) |
| XYZ | xyz(38.9771, 24.6754, 89.0780) |
| Luminance | 0.2467 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.00
Lighter Purple
#A55AF4
ΔE00 3.04
Bright Lavender
#C760FF
ΔE00 3.72
Bright Lilac
#C95EFB
ΔE00 4.01
Easter Purple
#C071FE
ΔE00 4.57
Lightish Purple
#A552E6
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B162F5 #A6F562
analogous
#6862F5 #B162F5 #F562EF
triadic
#B162F5 #F5B162 #62F5B1
tetradic
#B162F5 #F56862 #A6F562 #62EFF5
square
#B162F5 #F56862 #A6F562 #62EFF5
split-complementary
#B162F5 #EFF562 #62F568
monochromatic
#760DCF #9428F1 #B162F5 #CE9CF9 #EAD5FC
Accessibility & contrast
On white
3.54
#B162F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#B162F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B162F5
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B162F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B162F5 | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1786FA
Deuteranopia (green-blind)
#4489F2
Tritanopia (blue-blind)
#A67FA3
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b162f5; /* rgb */ color: rgb(177, 98, 245); /* oklch */ color: oklch(65.2% 0.215 306.1);
Tailwind
colors: {
custom: {
50: '#cc92f9',
500: '#b162f5',
950: '#000000',
},
}SCSS
$custom: #b162f5; $custom-light: #cc92f9; $custom-dark: #000000;
JSON
{
"hex": "#b162f5",
"rgb": {
"r": 177,
"g": 98,
"b": 245
},
"hsl": {
"h": 272.245,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.65206,
"c": 0.21534,
"h": 306.1
},
"luminance": 0.24675
}Semantic roles & 50–950 ramp
primary
#B162F5
secondary
#D8F1C2
accent
#E5016A
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85