#B162CE#B162CE

#B162CE is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.9% C 0.174 H 316.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B162CE
RGBrgb(177, 98, 206)
HSLhsl(284, 52%, 60%)
HSVhsv(284, 52%, 81%)
CMYKcmyk(14.1%, 52.4%, 0%, 19.2%)
CIE-LABlab(54.60, 49.38, -43.12)
CIE-LCHlch(54.60, 65.56, 318.87°)
OKLaboklab(62.93% 0.1254 -0.1201)
OKLCHoklch(62.93% 0.174 316.2)
XYZxyz(33.6381, 22.5398, 60.9592)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162CE #7FCE62
analogous
#7B62CE #B162CE #CE62B5
triadic
#B162CE #CEB162 #62CEB1
tetradic
#B162CE #CE7B62 #7FCE62 #62B5CE
square
#B162CE #CE7B62 #7FCE62 #62B5CE
split-complementary
#B162CE #B5CE62 #62CE7B
monochromatic
#712B8A #973AB9 #B162CE #C891DD #DFBFEB

Accessibility & contrast

On white

3.81
#B162CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B162CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162CE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162CE#FFFFFF#000000##000000
##B162CE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED2
Deuteranopia (green-blind)
#6385CB
Tritanopia (blue-blind)
#B0738F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b162ce;
/* rgb */ color: rgb(177, 98, 206);
/* oklch */ color: oklch(62.9% 0.174 316.2);
Tailwind
colors: {
  custom: {
    50: '#cb91dd',
    500: '#b162ce',
    950: '#000000',
  },
}
SCSS
$custom: #b162ce;
$custom-light: #cb91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b162ce",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 283.889,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.17362,
    "h": 316.2
  },
  "luminance": 0.22539
}

Semantic roles & 50–950 ramp

primary
#B162CE
secondary
#BCDBB1
accent
#DC4C73
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B162CE

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

Preview Lab → · Contrast checker → · Palette generator →

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