#B162AE#B162AE

#B162AE is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.3% C 0.141 H 328.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B162AE
RGBrgb(177, 98, 174)
HSLhsl(302, 34%, 54%)
HSVhsv(302, 45%, 69%)
CMYKcmyk(0%, 44.6%, 1.7%, 30.6%)
CIE-LABlab(53.10, 43.10, -27.06)
CIE-LCHlch(53.10, 50.89, 327.88°)
OKLaboklab(61.33% 0.1206 -0.0738)
OKLCHoklch(61.33% 0.141 328.5)
XYZxyz(30.1387, 21.1400, 42.5291)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162AE #62B165
analogous
#8D62B1 #B162AE #B16287
triadic
#B162AE #AEB162 #62AEB1
tetradic
#B162AE #B18D62 #62B165 #6287B1
square
#B162AE #B18D62 #62B165 #6287B1
split-complementary
#B162AE #87B162 #62B18D
monochromatic
#663364 #8F478C #B162AE #C58BC3 #DAB4D8

Accessibility & contrast

On white

4.02
#B162AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B162AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162AE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162AE#FFFFFF#000000##000000
##B162AE1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D78B1
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#B66980
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b162ae;
/* rgb */ color: rgb(177, 98, 174);
/* oklch */ color: oklch(61.3% 0.141 328.5);
Tailwind
colors: {
  custom: {
    50: '#ca91c6',
    500: '#b162ae',
    950: '#000000',
  },
}
SCSS
$custom: #b162ae;
$custom-light: #ca91c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b162ae",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 302.278,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6133,
    "c": 0.14138,
    "h": 328.5
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#B162AE
secondary
#A7C8A8
accent
#CA625E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B162AE

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

Preview Lab → · Contrast checker → · Palette generator →

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