#B162F1#B162F1
#B162F1 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.0% C 0.211 H 306.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #B162F1 |
|---|---|
| RGB | rgb(177, 98, 241) |
| HSL | hsl(273, 84%, 66%) |
| HSV | hsv(273, 59%, 95%) |
| CMYK | cmyk(26.6%, 59.3%, 0%, 5.5%) |
| CIE-LAB | lab(56.52, 56.96, -59.77) |
| CIE-LCH | lch(56.52, 82.56, 313.62°) |
| OKLab | oklab(64.96% 0.1268 -0.1687) |
| OKLCH | oklch(64.96% 0.211 306.9) |
| XYZ | xyz(38.3730, 24.4338, 85.8967) |
| Luminance | 0.2443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.11
Lighter Purple
#A55AF4
ΔE00 3.13
Bright Lavender
#C760FF
ΔE00 3.83
Bright Lilac
#C95EFB
ΔE00 4.02
Easter Purple
#C071FE
ΔE00 4.72
Lightish Purple
#A552E6
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B162F1 #A2F162
analogous
#6A62F1 #B162F1 #F162EA
triadic
#B162F1 #F1B162 #62F1B1
tetradic
#B162F1 #F16A62 #A2F162 #62EAF1
square
#B162F1 #F16A62 #A2F162 #62EAF1
split-complementary
#B162F1 #EAF162 #62F16A
monochromatic
#7612C7 #952AEC #B162F1 #CD9AF6 #E9D2FB
Accessibility & contrast
On white
3.57
#B162F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#B162F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B162F1
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B162F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B162F1 | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2185F6
Deuteranopia (green-blind)
#4988EE
Tritanopia (blue-blind)
#A77EA0
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b162f1; /* rgb */ color: rgb(177, 98, 241); /* oklch */ color: oklch(65.0% 0.211 306.9);
Tailwind
colors: {
custom: {
50: '#cc92f6',
500: '#b162f1',
950: '#000000',
},
}SCSS
$custom: #b162f1; $custom-light: #cc92f6; $custom-dark: #000000;
JSON
{
"hex": "#b162f1",
"rgb": {
"r": 177,
"g": 98,
"b": 241
},
"hsl": {
"h": 273.147,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.64956,
"c": 0.21104,
"h": 306.9
},
"luminance": 0.24433
}Semantic roles & 50–950 ramp
primary
#B162F1
secondary
#D5EFC0
accent
#E00567
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85