#B162AC#B162AC

#B162AC is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.2% C 0.140 H 329.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B162AC
RGBrgb(177, 98, 172)
HSLhsl(304, 34%, 54%)
HSVhsv(304, 45%, 69%)
CMYKcmyk(0%, 44.6%, 2.8%, 30.6%)
CIE-LABlab(53.02, 42.73, -26.02)
CIE-LCHlch(53.02, 50.03, 328.66°)
OKLaboklab(61.24% 0.1201 -0.0709)
OKLCHoklch(61.24% 0.14 329.4)
XYZxyz(29.9451, 21.0626, 41.5099)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162AC #62B167
analogous
#8F62B1 #B162AC #B16285
triadic
#B162AC #ACB162 #62ACB1
tetradic
#B162AC #B18F62 #62B167 #6285B1
square
#B162AC #B18F62 #62B167 #6285B1
split-complementary
#B162AC #85B162 #62B18F
monochromatic
#663363 #8F478A #B162AC #C58BC2 #DAB4D7

Accessibility & contrast

On white

4.03
#B162AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B162AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162AC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162AC#FFFFFF#000000##000000
##B162AC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AF
Deuteranopia (green-blind)
#7382AA
Tritanopia (blue-blind)
#B6697F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b162ac;
/* rgb */ color: rgb(177, 98, 172);
/* oklch */ color: oklch(61.2% 0.140 329.4);
Tailwind
colors: {
  custom: {
    50: '#ca91c5',
    500: '#b162ac',
    950: '#000000',
  },
}
SCSS
$custom: #b162ac;
$custom-light: #ca91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b162ac",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 303.797,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61239,
    "c": 0.1395,
    "h": 329.4
  },
  "luminance": 0.21061
}

Semantic roles & 50–950 ramp

primary
#B162AC
secondary
#A7C8A9
accent
#CA655E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B162AC

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

Preview Lab → · Contrast checker → · Palette generator →

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