#B17FCD#B17FCD

#B17FCD is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.5% C 0.124 H 312.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B17FCD
RGBrgb(177, 127, 205)
HSLhsl(278, 44%, 65%)
HSVhsv(278, 38%, 80%)
CMYKcmyk(13.7%, 38%, 0%, 19.6%)
CIE-LABlab(60.72, 33.52, -32.95)
CIE-LCHlch(60.72, 47.00, 315.49°)
OKLaboklab(67.49% 0.0841 -0.0909)
OKLCHoklch(67.49% 0.124 312.8)
XYZxyz(36.7384, 28.9343, 61.3953)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17FCD #9BCD7F
analogous
#8A7FCD #B17FCD #CD7FC2
triadic
#B17FCD #CDB17F #7FCDB1
tetradic
#B17FCD #CD8A7F #9BCD7F #7FC2CD
square
#B17FCD #CD8A7F #9BCD7F #7FC2CD
split-complementary
#B17FCD #C2CD7F #7FCD8A
monochromatic
#763B97 #9653BC #B17FCD #CCABDE #E7D7EF

Accessibility & contrast

On white

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

On black

6.79
#B17FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17FCD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17FCD#FFFFFF#000000##000000
##B17FCD1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D0
Deuteranopia (green-blind)
#7D94CB
Tritanopia (blue-blind)
#AF8A9C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b17fcd;
/* rgb */ color: rgb(177, 127, 205);
/* oklch */ color: oklch(67.5% 0.124 312.8);
Tailwind
colors: {
  custom: {
    50: '#c9a5dc',
    500: '#b17fcd',
    950: '#000000',
  },
}
SCSS
$custom: #b17fcd;
$custom-light: #c9a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b17fcd",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 278.462,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67487,
    "c": 0.12379,
    "h": 312.8
  },
  "luminance": 0.28934
}

Semantic roles & 50–950 ramp

primary
#B17FCD
secondary
#D0E1C7
accent
#B72F60
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B17FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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