#B17CD2#B17CD2

#B17CD2 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.2% C 0.135 H 311.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B17CD2
RGBrgb(177, 124, 210)
HSLhsl(277, 49%, 65%)
HSVhsv(277, 41%, 82%)
CMYKcmyk(15.7%, 41%, 0%, 17.6%)
CIE-LABlab(60.26, 36.26, -36.48)
CIE-LCHlch(60.26, 51.44, 314.83°)
OKLaboklab(67.21% 0.0894 -0.101)
OKLCHoklch(67.21% 0.135 311.5)
XYZxyz(36.9699, 28.4162, 64.4976)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CD2 #9DD27C
analogous
#867CD2 #B17CD2 #D27CC8
triadic
#B17CD2 #D2B17C #7CD2B1
tetradic
#B17CD2 #D2867C #9DD27C #7CC8D2
square
#B17CD2 #D2867C #9DD27C #7CC8D2
split-complementary
#B17CD2 #C8D27C #7CD286
monochromatic
#76369D #964EC2 #B17CD2 #CCAAE2 #E7D7F1

Accessibility & contrast

On white

3.14
#B17CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B17CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17CD2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17CD2#FFFFFF#000000##000000
##B17CD21.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8FD5
Deuteranopia (green-blind)
#7892D0
Tritanopia (blue-blind)
#AE899D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b17cd2;
/* rgb */ color: rgb(177, 124, 210);
/* oklch */ color: oklch(67.2% 0.135 311.5);
Tailwind
colors: {
  custom: {
    50: '#caa3e0',
    500: '#b17cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b17cd2;
$custom-light: #caa3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b17cd2",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 276.977,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67211,
    "c": 0.13491,
    "h": 311.5
  },
  "luminance": 0.28416
}

Semantic roles & 50–950 ramp

primary
#B17CD2
secondary
#D2E3C6
accent
#BC2962
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B17CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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