#B162BD#B162BD

#B162BD is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.0% C 0.156 H 322.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B162BD
RGBrgb(177, 98, 189)
HSLhsl(292, 41%, 56%)
HSVhsv(292, 48%, 74%)
CMYKcmyk(6.3%, 48.1%, 0%, 25.9%)
CIE-LABlab(53.77, 45.96, -34.69)
CIE-LCHlch(53.77, 57.58, 322.95°)
OKLaboklab(62.04% 0.1233 -0.0957)
OKLCHoklch(62.04% 0.156 322.2)
XYZxyz(31.6835, 21.7579, 50.6650)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162BD #6EBD62
analogous
#8462BD #B162BD #BD629C
triadic
#B162BD #BDB162 #62BDB1
tetradic
#B162BD #BD8462 #6EBD62 #629CBD
square
#B162BD #BD8462 #6EBD62 #629CBD
split-complementary
#B162BD #9CBD62 #62BD84
monochromatic
#6B3174 #93439F #B162BD #C68DCF #DCB8E1

Accessibility & contrast

On white

3.92
#B162BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B162BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162BD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162BD#FFFFFF#000000##000000
##B162BD1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557BC0
Deuteranopia (green-blind)
#6C84BA
Tritanopia (blue-blind)
#B36D87
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b162bd;
/* rgb */ color: rgb(177, 98, 189);
/* oklch */ color: oklch(62.0% 0.156 322.2);
Tailwind
colors: {
  custom: {
    50: '#ca91d1',
    500: '#b162bd',
    950: '#000000',
  },
}
SCSS
$custom: #b162bd;
$custom-light: #ca91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b162bd",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 292.088,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62044,
    "c": 0.15606,
    "h": 322.2
  },
  "luminance": 0.21757
}

Semantic roles & 50–950 ramp

primary
#B162BD
secondary
#B0D0AB
accent
#D15767
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B162BD

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

Preview Lab → · Contrast checker → · Palette generator →

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