#B17CDA#B17CDA

#B17CDA is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.6% C 0.144 H 309.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B17CDA
RGBrgb(177, 124, 218)
HSLhsl(274, 56%, 67%)
HSVhsv(274, 43%, 85%)
CMYKcmyk(18.8%, 43.1%, 0%, 14.5%)
CIE-LABlab(60.63, 38.03, -40.40)
CIE-LCHlch(60.63, 55.48, 313.27°)
OKLaboklab(67.6% 0.0909 -0.1123)
OKLCHoklch(67.6% 0.144 309)
XYZxyz(37.9916, 28.8249, 69.8784)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CDA #A5DA7C
analogous
#827CDA #B17CDA #DA7CD4
triadic
#B17CDA #DAB17C #7CDAB1
tetradic
#B17CDA #DA827C #A5DA7C #7CD4DA
square
#B17CDA #DA827C #A5DA7C #7CD4DA
split-complementary
#B17CDA #D4DA7C #7CDA82
monochromatic
#7630AB #954CCD #B17CDA #CDACE7 #EADBF5

Accessibility & contrast

On white

3.10
#B17CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#B17CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17CDA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17CDA#FFFFFF#000000##000000
##B17CDA1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6790DD
Deuteranopia (green-blind)
#7493D7
Tritanopia (blue-blind)
#AC8BA1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b17cda;
/* rgb */ color: rgb(177, 124, 218);
/* oklch */ color: oklch(67.6% 0.144 309.0);
Tailwind
colors: {
  custom: {
    50: '#caa3e6',
    500: '#b17cda',
    950: '#000000',
  },
}
SCSS
$custom: #b17cda;
$custom-light: #caa3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b17cda",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 273.83,
    "s": 55.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.14447,
    "h": 309
  },
  "luminance": 0.28824
}

Semantic roles & 50–950 ramp

primary
#B17CDA
secondary
#D7E8CA
accent
#C32268
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B17CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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