#B162BF#B162BF

#B162BF is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.1% C 0.158 H 321.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B162BF
RGBrgb(177, 98, 191)
HSLhsl(291, 42%, 57%)
HSVhsv(291, 49%, 75%)
CMYKcmyk(7.3%, 48.7%, 0%, 25.1%)
CIE-LABlab(53.86, 46.35, -35.69)
CIE-LCHlch(53.86, 58.50, 322.40°)
OKLaboklab(62.14% 0.1236 -0.0986)
OKLCHoklch(62.14% 0.158 321.4)
XYZxyz(31.9020, 21.8454, 51.8162)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162BF #70BF62
analogous
#8362BF #B162BF #BF629F
triadic
#B162BF #BFB162 #62BFB1
tetradic
#B162BF #BF8362 #70BF62 #629FBF
square
#B162BF #BF8362 #70BF62 #629FBF
split-complementary
#B162BF #9FBF62 #62BF83
monochromatic
#6C3076 #9342A2 #B162BF #C78DD1 #DCB9E2

Accessibility & contrast

On white

3.91
#B162BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B162BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162BF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162BF#FFFFFF#000000##000000
##B162BF1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#6B84BC
Tritanopia (blue-blind)
#B36E88
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b162bf;
/* rgb */ color: rgb(177, 98, 191);
/* oklch */ color: oklch(62.1% 0.158 321.4);
Tailwind
colors: {
  custom: {
    50: '#ca91d2',
    500: '#b162bf',
    950: '#000000',
  },
}
SCSS
$custom: #b162bf;
$custom-light: #ca91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b162bf",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 290.968,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.15808,
    "h": 321.4
  },
  "luminance": 0.21844
}

Semantic roles & 50–950 ramp

primary
#B162BF
secondary
#B1D1AB
accent
#D25669
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B162BF

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

Preview Lab → · Contrast checker → · Palette generator →

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