#B17DEB#B17DEB

#B17DEB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.163 H 304.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B17DEB
RGBrgb(177, 125, 235)
HSLhsl(268, 73%, 71%)
HSVhsv(268, 47%, 92%)
CMYKcmyk(24.7%, 46.8%, 0%, 7.8%)
CIE-LABlab(61.67, 41.35, -48.24)
CIE-LCHlch(61.67, 63.54, 310.61°)
OKLaboklab(68.65% 0.092 -0.1351)
OKLCHoklch(68.65% 0.163 304.3)
XYZxyz(40.4573, 30.0126, 82.2428)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17DEB #B7EB7D
analogous
#7D80EB #B17DEB #E87DEB
triadic
#B17DEB #EBB17D #7DEBB1
tetradic
#B17DEB #EB7D80 #B7EB7D #7DEBE8
square
#B17DEB #EB7D80 #B7EB7D #7DEBE8
split-complementary
#B17DEB #EBE87D #80EB7D
monochromatic
#7220CE #9148E3 #B17DEB #D1B2F3 #EFE4FB

Accessibility & contrast

On white

3.00
#B17DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B17DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17DEB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17DEB#FFFFFF#000000##000000
##B17DEB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94EF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#A790A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b17deb;
/* rgb */ color: rgb(177, 125, 235);
/* oklch */ color: oklch(68.6% 0.163 304.3);
Tailwind
colors: {
  custom: {
    50: '#cba4f2',
    500: '#b17deb',
    950: '#000000',
  },
}
SCSS
$custom: #b17deb;
$custom-light: #cba4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b17deb",
  "rgb": {
    "r": 177,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 268.364,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68649,
    "c": 0.16341,
    "h": 304.3
  },
  "luminance": 0.30013
}

Semantic roles & 50–950 ramp

primary
#B17DEB
secondary
#E3F1D3
accent
#D51078
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B17DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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