#B17CDD#B17CDD

#B17CDD is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.8% C 0.148 H 308.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B17CDD
RGBrgb(177, 124, 221)
HSLhsl(273, 59%, 68%)
HSVhsv(273, 44%, 87%)
CMYKcmyk(19.9%, 43.9%, 0%, 13.3%)
CIE-LABlab(60.77, 38.70, -41.86)
CIE-LCHlch(60.77, 57.01, 312.75°)
OKLaboklab(67.76% 0.0914 -0.1165)
OKLCHoklch(67.76% 0.148 308.1)
XYZxyz(38.3877, 28.9833, 71.9646)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CDD #A8DD7C
analogous
#817CDD #B17CDD #DD7CD8
triadic
#B17CDD #DDB17C #7CDDB1
tetradic
#B17CDD #DD817C #A8DD7C #7CD8DD
square
#B17CDD #DD817C #A8DD7C #7CD8DD
split-complementary
#B17CDD #D8DD7C #7CDD81
monochromatic
#752EB1 #944BD0 #B17CDD #CEADEA #EBDDF6

Accessibility & contrast

On white

3.09
#B17CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B17CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17CDD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17CDD#FFFFFF#000000##000000
##B17CDD1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E1
Deuteranopia (green-blind)
#7393DA
Tritanopia (blue-blind)
#AB8BA2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b17cdd;
/* rgb */ color: rgb(177, 124, 221);
/* oklch */ color: oklch(67.8% 0.148 308.1);
Tailwind
colors: {
  custom: {
    50: '#caa3e8',
    500: '#b17cdd',
    950: '#000000',
  },
}
SCSS
$custom: #b17cdd;
$custom-light: #caa3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b17cdd",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 272.784,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67755,
    "c": 0.14808,
    "h": 308.1
  },
  "luminance": 0.28983
}

Semantic roles & 50–950 ramp

primary
#B17CDD
secondary
#D9E9CB
accent
#C61F6B
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B17CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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