#B162F7#B162F7
#B162F7 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.217 H 305.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B162F7 |
|---|---|
| RGB | rgb(177, 98, 247) |
| HSL | hsl(272, 90%, 68%) |
| HSV | hsv(272, 60%, 97%) |
| CMYK | cmyk(28.3%, 60.3%, 0%, 3.1%) |
| CIE-LAB | lab(56.88, 58.31, -62.53) |
| CIE-LCH | lch(56.88, 85.50, 313.00°) |
| OKLab | oklab(65.33% 0.1267 -0.1768) |
| OKLCH | oklch(65.33% 0.217 305.6) |
| XYZ | xyz(39.2840, 24.7982, 90.6946) |
| Luminance | 0.2480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.97
Lighter Purple
#A55AF4
ΔE00 3.04
Bright Lavender
#C760FF
ΔE00 3.69
Bright Lilac
#C95EFB
ΔE00 4.03
Easter Purple
#C071FE
ΔE00 4.52
Lightish Purple
#A552E6
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B162F7 #A8F762
analogous
#6662F7 #B162F7 #F762F3
triadic
#B162F7 #F7B162 #62F7B1
tetradic
#B162F7 #F76662 #A8F762 #62F3F7
square
#B162F7 #F76662 #A8F762 #62F3F7
split-complementary
#B162F7 #F3F762 #62F766
monochromatic
#750BD4 #9428F4 #B162F7 #CE9CFA #EBD6FD
Accessibility & contrast
On white
3.52
#B162F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#B162F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B162F7
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B162F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B162F7 | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F86FC
Deuteranopia (green-blind)
#4289F4
Tritanopia (blue-blind)
#A580A4
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b162f7; /* rgb */ color: rgb(177, 98, 247); /* oklch */ color: oklch(65.3% 0.217 305.6);
Tailwind
colors: {
custom: {
50: '#cc92fb',
500: '#b162f7',
950: '#000000',
},
}SCSS
$custom: #b162f7; $custom-light: #cc92fb; $custom-dark: #000000;
JSON
{
"hex": "#b162f7",
"rgb": {
"r": 177,
"g": 98,
"b": 247
},
"hsl": {
"h": 271.812,
"s": 90.303,
"l": 67.647
},
"oklch": {
"l": 0.65332,
"c": 0.21749,
"h": 305.6
},
"luminance": 0.24798
}Semantic roles & 50–950 ramp
primary
#B162F7
secondary
#D9F2C3
accent
#E6006C
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85