#B170BB#B170BB

#B170BB is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.1% C 0.130 H 322.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B170BB
RGBrgb(177, 112, 187)
HSLhsl(292, 36%, 59%)
HSVhsv(292, 40%, 73%)
CMYKcmyk(5.3%, 40.1%, 0%, 26.7%)
CIE-LABlab(56.61, 38.08, -29.12)
CIE-LCHlch(56.61, 47.93, 322.59°)
OKLaboklab(64.14% 0.1024 -0.0798)
OKLCHoklch(64.14% 0.13 322.1)
XYZxyz(32.8943, 24.5245, 50.0050)
Luminance0.2452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B170BB #7ABB70
analogous
#8B70BB #B170BB #BB709F
triadic
#B170BB #BBB170 #70BBB1
tetradic
#B170BB #BB8B70 #7ABB70 #709FBB
square
#B170BB #BB8B70 #7ABB70 #709FBB
split-complementary
#B170BB #9FBB70 #70BB8B
monochromatic
#6F3978 #964DA1 #B170BB #C899CF #DEC3E2

Accessibility & contrast

On white

3.56
#B170BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B170BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B170BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B170BB#FFFFFF#000000##000000
##B170BB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BE
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#B3798D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b170bb;
/* rgb */ color: rgb(177, 112, 187);
/* oklch */ color: oklch(64.1% 0.130 322.1);
Tailwind
colors: {
  custom: {
    50: '#c99acf',
    500: '#b170bb',
    950: '#000000',
  },
}
SCSS
$custom: #b170bb;
$custom-light: #c99acf;
$custom-dark: #000000;
JSON
{
  "hex": "#b170bb",
  "rgb": {
    "r": 177,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 292,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64136,
    "c": 0.12983,
    "h": 322.1
  },
  "luminance": 0.24523
}

Semantic roles & 50–950 ramp

primary
#B170BB
secondary
#B9D2B5
accent
#CC5C6B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B170BB

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

Preview Lab → · Contrast checker → · Palette generator →

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