#B162E9#B162E9

#B162E9 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.5% C 0.202 H 308.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B162E9
RGBrgb(177, 98, 233)
HSLhsl(275, 75%, 65%)
HSVhsv(275, 58%, 91%)
CMYKcmyk(24%, 57.9%, 0%, 8.6%)
CIE-LABlab(56.05, 55.18, -56.04)
CIE-LCHlch(56.05, 78.65, 314.55°)
OKLaboklab(64.47% 0.1268 -0.1578)
OKLCHoklch(64.47% 0.202 308.8)
XYZxyz(37.2042, 23.9663, 79.7410)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162E9 #9AE962
analogous
#6D62E9 #B162E9 #E962DE
triadic
#B162E9 #E9B162 #62E9B1
tetradic
#B162E9 #E96D62 #9AE962 #62DEE9
square
#B162E9 #E96D62 #9AE962 #62DEE9
split-complementary
#B162E9 #DEE962 #62E96D
monochromatic
#761AB7 #962CE1 #B162E9 #CC98F1 #E6CDF8

Accessibility & contrast

On white

3.62
#B162E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B162E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162E9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162E9#FFFFFF#000000##000000
##B162E91.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83ED
Deuteranopia (green-blind)
#5087E6
Tritanopia (blue-blind)
#A97B9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b162e9;
/* rgb */ color: rgb(177, 98, 233);
/* oklch */ color: oklch(64.5% 0.202 308.8);
Tailwind
colors: {
  custom: {
    50: '#cc92f1',
    500: '#b162e9',
    950: '#000000',
  },
}
SCSS
$custom: #b162e9;
$custom-light: #cc92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b162e9",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 275.111,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64467,
    "c": 0.20244,
    "h": 308.8
  },
  "luminance": 0.23966
}

Semantic roles & 50–950 ramp

primary
#B162E9
secondary
#CFEABC
accent
#D80E62
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B162E9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B162E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva