#B162F3#B162F3
#B162F3 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.1% C 0.213 H 306.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #B162F3 |
|---|---|
| RGB | rgb(177, 98, 243) |
| HSL | hsl(273, 86%, 67%) |
| HSV | hsv(273, 60%, 95%) |
| CMYK | cmyk(27.2%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(56.64, 57.41, -60.69) |
| CIE-LCH | lch(56.64, 83.54, 313.41°) |
| OKLab | oklab(65.08% 0.1268 -0.1714) |
| OKLCH | oklch(65.08% 0.213 306.5) |
| XYZ | xyz(38.6734, 24.5539, 87.4787) |
| Luminance | 0.2455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.04
Lighter Purple
#A55AF4
ΔE00 3.07
Bright Lavender
#C760FF
ΔE00 3.77
Bright Lilac
#C95EFB
ΔE00 4.00
Easter Purple
#C071FE
ΔE00 4.64
Lightish Purple
#A552E6
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B162F3 #A4F362
analogous
#6962F3 #B162F3 #F362EC
triadic
#B162F3 #F3B162 #62F3B1
tetradic
#B162F3 #F36962 #A4F362 #62ECF3
square
#B162F3 #F36962 #A4F362 #62ECF3
split-complementary
#B162F3 #ECF362 #62F369
monochromatic
#7610CB #9529EF #B162F3 #CD9BF7 #E9D4FC
Accessibility & contrast
On white
3.55
#B162F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#B162F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B162F3
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B162F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B162F3 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C85F8
Deuteranopia (green-blind)
#4788F0
Tritanopia (blue-blind)
#A67FA2
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b162f3; /* rgb */ color: rgb(177, 98, 243); /* oklch */ color: oklch(65.1% 0.213 306.5);
Tailwind
colors: {
custom: {
50: '#cc92f8',
500: '#b162f3',
950: '#000000',
},
}SCSS
$custom: #b162f3; $custom-light: #cc92f8; $custom-dark: #000000;
JSON
{
"hex": "#b162f3",
"rgb": {
"r": 177,
"g": 98,
"b": 243
},
"hsl": {
"h": 272.69,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.65081,
"c": 0.21319,
"h": 306.5
},
"luminance": 0.24554
}Semantic roles & 50–950 ramp
primary
#B162F3
secondary
#D6F0C1
accent
#E20369
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85