#B170CF#B170CF

#B170CF is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.1% C 0.152 H 314.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B170CF
RGBrgb(177, 112, 207)
HSLhsl(281, 50%, 63%)
HSVhsv(281, 46%, 81%)
CMYKcmyk(14.5%, 45.9%, 0%, 18.8%)
CIE-LABlab(57.50, 42.19, -39.11)
CIE-LCHlch(57.50, 57.53, 317.17°)
OKLaboklab(65.1% 0.1061 -0.1085)
OKLCHoklch(65.1% 0.152 314.4)
XYZxyz(35.1863, 25.4413, 62.0765)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B170CF #8ECF70
analogous
#8270CF #B170CF #CF70BD
triadic
#B170CF #CFB170 #70CFB1
tetradic
#B170CF #CF8270 #8ECF70 #70BDCF
square
#B170CF #CF8270 #8ECF70 #70BDCF
split-complementary
#B170CF #BDCF70 #70CF82
monochromatic
#743193 #9842C0 #B170CF #CA9EDE #E3CCEE

Accessibility & contrast

On white

3.45
#B170CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B170CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B170CF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B170CF#FFFFFF#000000##000000
##B170CF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D2
Deuteranopia (green-blind)
#6F8CCC
Tritanopia (blue-blind)
#AF7E96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b170cf;
/* rgb */ color: rgb(177, 112, 207);
/* oklch */ color: oklch(65.1% 0.152 314.4);
Tailwind
colors: {
  custom: {
    50: '#ca9bde',
    500: '#b170cf',
    950: '#000000',
  },
}
SCSS
$custom: #b170cf;
$custom-light: #ca9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#b170cf",
  "rgb": {
    "r": 177,
    "g": 112,
    "b": 207
  },
  "hsl": {
    "h": 281.053,
    "s": 49.738,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65098,
    "c": 0.15178,
    "h": 314.4
  },
  "luminance": 0.2544
}

Semantic roles & 50–950 ramp

primary
#B170CF
secondary
#C7DFBC
accent
#BD2857
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B170CF

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

Preview Lab → · Contrast checker → · Palette generator →

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