#B17BD2#B17BD2

#B17BD2 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.0% C 0.137 H 311.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B17BD2
RGBrgb(177, 123, 210)
HSLhsl(277, 49%, 65%)
HSVhsv(277, 41%, 82%)
CMYKcmyk(15.7%, 41.4%, 0%, 17.6%)
CIE-LABlab(60.04, 36.82, -36.83)
CIE-LCHlch(60.04, 52.08, 314.99°)
OKLaboklab(67.04% 0.0909 -0.102)
OKLCHoklch(67.04% 0.137 311.7)
XYZxyz(36.8453, 28.1668, 64.4560)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BD2 #9CD27B
analogous
#857BD2 #B17BD2 #D27BC8
triadic
#B17BD2 #D2B17B #7BD2B1
tetradic
#B17BD2 #D2857B #9CD27B #7BC8D2
square
#B17BD2 #D2857B #9CD27B #7BC8D2
split-complementary
#B17BD2 #C8D27B #7BD285
monochromatic
#76369D #964DC2 #B17BD2 #CCA9E2 #E7D6F1

Accessibility & contrast

On white

3.17
#B17BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B17BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17BD2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17BD2#FFFFFF#000000##000000
##B17BD21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ED5
Deuteranopia (green-blind)
#7792D0
Tritanopia (blue-blind)
#AE889D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b17bd2;
/* rgb */ color: rgb(177, 123, 210);
/* oklch */ color: oklch(67.0% 0.137 311.7);
Tailwind
colors: {
  custom: {
    50: '#caa2e0',
    500: '#b17bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b17bd2;
$custom-light: #caa2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b17bd2",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 277.241,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67043,
    "c": 0.13662,
    "h": 311.7
  },
  "luminance": 0.28166
}

Semantic roles & 50–950 ramp

primary
#B17BD2
secondary
#D1E3C6
accent
#BC2961
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B17BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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