#B17CD4#B17CD4

#B17CD4 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.137 H 310.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B17CD4
RGBrgb(177, 124, 212)
HSLhsl(276, 51%, 66%)
HSVhsv(276, 42%, 83%)
CMYKcmyk(16.5%, 41.5%, 0%, 16.9%)
CIE-LABlab(60.35, 36.70, -37.46)
CIE-LCHlch(60.35, 52.45, 314.41°)
OKLaboklab(67.31% 0.0898 -0.1038)
OKLCHoklch(67.31% 0.137 310.9)
XYZxyz(37.2207, 28.5165, 65.8180)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CD4 #9FD47C
analogous
#857CD4 #B17CD4 #D47CCB
triadic
#B17CD4 #D4B17C #7CD4B1
tetradic
#B17CD4 #D4857C #9FD47C #7CCBD4
square
#B17CD4 #D4857C #9FD47C #7CCBD4
split-complementary
#B17CD4 #CBD47C #7CD485
monochromatic
#7635A1 #964EC5 #B17CD4 #CCAAE3 #E8D8F2

Accessibility & contrast

On white

3.13
#B17CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B17CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17CD4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17CD4#FFFFFF#000000##000000
##B17CD41.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8FD7
Deuteranopia (green-blind)
#7793D2
Tritanopia (blue-blind)
#AD899E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b17cd4;
/* rgb */ color: rgb(177, 124, 212);
/* oklch */ color: oklch(67.3% 0.137 310.9);
Tailwind
colors: {
  custom: {
    50: '#caa3e1',
    500: '#b17cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b17cd4;
$custom-light: #caa3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b17cd4",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 276.136,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67308,
    "c": 0.1373,
    "h": 310.9
  },
  "luminance": 0.28516
}

Semantic roles & 50–950 ramp

primary
#B17CD4
secondary
#D3E4C7
accent
#BE2863
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B17CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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