#B162AA#B162AA

#B162AA is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.2% C 0.138 H 330.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B162AA
RGBrgb(177, 98, 170)
HSLhsl(305, 34%, 54%)
HSVhsv(305, 45%, 69%)
CMYKcmyk(0%, 44.6%, 4%, 30.6%)
CIE-LABlab(52.93, 42.37, -24.99)
CIE-LCHlch(52.93, 49.19, 329.47°)
OKLaboklab(61.15% 0.1197 -0.068)
OKLCHoklch(61.15% 0.138 330.4)
XYZxyz(29.7545, 20.9864, 40.5059)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B162AA #62B169
analogous
#9162B1 #B162AA #B16283
triadic
#B162AA #AAB162 #62AAB1
tetradic
#B162AA #B19162 #62B169 #6283B1
square
#B162AA #B19162 #62B169 #6283B1
split-complementary
#B162AA #83B162 #62B191
monochromatic
#663361 #8F4788 #B162AA #C58BC0 #DAB4D6

Accessibility & contrast

On white

4.04
#B162AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B162AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B162AA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B162AA#FFFFFF#000000##000000
##B162AA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AD
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#B7687E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b162aa;
/* rgb */ color: rgb(177, 98, 170);
/* oklch */ color: oklch(61.2% 0.138 330.4);
Tailwind
colors: {
  custom: {
    50: '#ca91c3',
    500: '#b162aa',
    950: '#000000',
  },
}
SCSS
$custom: #b162aa;
$custom-light: #ca91c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b162aa",
  "rgb": {
    "r": 177,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 305.316,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6115,
    "c": 0.13765,
    "h": 330.4
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#B162AA
secondary
#A7C8AA
accent
#CA685E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #B162AA

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

Preview Lab → · Contrast checker → · Palette generator →

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