#B162F0#B162F0
#B162F0 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.210 H 307.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B162F0 |
|---|---|
| RGB | rgb(177, 98, 240) |
| HSL | hsl(273, 83%, 66%) |
| HSV | hsv(273, 59%, 94%) |
| CMYK | cmyk(26.3%, 59.2%, 0%, 5.9%) |
| CIE-LAB | lab(56.46, 56.74, -59.30) |
| CIE-LCH | lch(56.46, 82.07, 313.73°) |
| OKLab | oklab(64.89% 0.1268 -0.1673) |
| OKLCH | oklch(64.89% 0.21 307.2) |
| XYZ | xyz(38.2241, 24.3742, 85.1122) |
| Luminance | 0.2437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.16
Lighter Purple
#A55AF4
ΔE00 3.17
Bright Lavender
#C760FF
ΔE00 3.87
Bright Lilac
#C95EFB
ΔE00 4.03
Easter Purple
#C071FE
ΔE00 4.76
Lightish Purple
#A552E6
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B162F0 #A1F062
analogous
#6A62F0 #B162F0 #F062E8
triadic
#B162F0 #F0B162 #62F0B1
tetradic
#B162F0 #F06A62 #A1F062 #62E8F0
square
#B162F0 #F06A62 #A1F062 #62E8F0
split-complementary
#B162F0 #E8F062 #62F06A
monochromatic
#7613C5 #952AEB #B162F0 #CD9AF5 #E9D2FB
Accessibility & contrast
On white
3.57
#B162F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#B162F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B162F0
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B162F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B162F0 | 1.00 | 3.57 | 5.87 | 5.87 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2385F5
Deuteranopia (green-blind)
#4A88ED
Tritanopia (blue-blind)
#A77EA0
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #b162f0; /* rgb */ color: rgb(177, 98, 240); /* oklch */ color: oklch(64.9% 0.210 307.2);
Tailwind
colors: {
custom: {
50: '#cc92f6',
500: '#b162f0',
950: '#000000',
},
}SCSS
$custom: #b162f0; $custom-light: #cc92f6; $custom-dark: #000000;
JSON
{
"hex": "#b162f0",
"rgb": {
"r": 177,
"g": 98,
"b": 240
},
"hsl": {
"h": 273.38,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.64894,
"c": 0.20997,
"h": 307.2
},
"luminance": 0.24374
}Semantic roles & 50–950 ramp
primary
#B162F0
secondary
#D4EEC0
accent
#DF0767
background
#FCF9FF
surface
#F9F1FE
border
#D2CBD6
text
#140D17
muted
#827E85