#B17EDA#B17EDA

#B17EDA is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.9% C 0.141 H 308.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#B17EDA
RGBrgb(177, 126, 218)
HSLhsl(273, 55%, 67%)
HSVhsv(273, 42%, 85%)
CMYKcmyk(18.8%, 42.2%, 0%, 14.5%)
CIE-LABlab(61.07, 36.92, -39.70)
CIE-LCHlch(61.07, 54.21, 312.92°)
OKLaboklab(67.94% 0.0881 -0.1103)
OKLCHoklch(67.94% 0.141 308.6)
XYZxyz(38.2448, 29.3312, 69.9628)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17EDA #A7DA7E
analogous
#837EDA #B17EDA #DA7ED5
triadic
#B17EDA #DAB17E #7EDAB1
tetradic
#B17EDA #DA837E #A7DA7E #7ED5DA
square
#B17EDA #DA837E #A7DA7E #7ED5DA
split-complementary
#B17EDA #D5DA7E #7EDA83
monochromatic
#7531AC #944ECC #B17EDA #CEAEE8 #EBDDF5

Accessibility & contrast

On white

3.06
#B17EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#B17EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17EDA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17EDA#FFFFFF#000000##000000
##B17EDA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DD
Deuteranopia (green-blind)
#7694D7
Tritanopia (blue-blind)
#AC8CA2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b17eda;
/* rgb */ color: rgb(177, 126, 218);
/* oklch */ color: oklch(67.9% 0.141 308.6);
Tailwind
colors: {
  custom: {
    50: '#caa4e6',
    500: '#b17eda',
    950: '#000000',
  },
}
SCSS
$custom: #b17eda;
$custom-light: #caa4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b17eda",
  "rgb": {
    "r": 177,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 273.261,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67939,
    "c": 0.14113,
    "h": 308.6
  },
  "luminance": 0.29331
}

Semantic roles & 50–950 ramp

primary
#B17EDA
secondary
#D8E8CC
accent
#C3236A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B17EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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