#B170AA#B170AA

#B170AA is a light, moderate purple. Relative luminance 0.238; OKLCH L 63.4% C 0.113 H 330.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B170AA
RGBrgb(177, 112, 170)
HSLhsl(306, 29%, 57%)
HSVhsv(306, 37%, 69%)
CMYKcmyk(0%, 36.7%, 4%, 30.6%)
CIE-LABlab(55.93, 34.81, -20.39)
CIE-LCHlch(55.93, 40.35, 329.64°)
OKLaboklab(63.4% 0.0983 -0.0551)
OKLCHoklch(63.4% 0.113 330.7)
XYZxyz(31.1809, 23.8392, 40.9814)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B170AA #70B177
analogous
#9870B1 #B170AA #B1708A
triadic
#B170AA #AAB170 #70AAB1
tetradic
#B170AA #B19870 #70B177 #708AB1
square
#B170AA #B19870 #70B177 #708AB1
split-complementary
#B170AA #8AB170 #70B198
monochromatic
#6C3B67 #93508C #B170AA #C798C2 #DCBFD9

Accessibility & contrast

On white

3.64
#B170AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B170AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B170AA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B170AA#FFFFFF#000000##000000
##B170AA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80AC
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#B67485
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b170aa;
/* rgb */ color: rgb(177, 112, 170);
/* oklch */ color: oklch(63.4% 0.113 330.7);
Tailwind
colors: {
  custom: {
    50: '#c99ac3',
    500: '#b170aa',
    950: '#000000',
  },
}
SCSS
$custom: #b170aa;
$custom-light: #c99ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#b170aa",
  "rgb": {
    "r": 177,
    "g": 112,
    "b": 170
  },
  "hsl": {
    "h": 306.462,
    "s": 29.412,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63397,
    "c": 0.11266,
    "h": 330.7
  },
  "luminance": 0.23838
}

Semantic roles & 50–950 ramp

primary
#B170AA
secondary
#B1CCB4
accent
#C66D62
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #B170AA

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

Preview Lab → · Contrast checker → · Palette generator →

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