#B17CED#B17CED

#B17CED is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.6% C 0.167 H 304.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#B17CED
RGBrgb(177, 124, 237)
HSLhsl(268, 76%, 71%)
HSVhsv(268, 48%, 93%)
CMYKcmyk(25.3%, 47.7%, 0%, 7.1%)
CIE-LABlab(61.55, 42.37, -49.53)
CIE-LCHlch(61.55, 65.18, 310.54°)
OKLaboklab(68.59% 0.0936 -0.1388)
OKLCHoklch(68.59% 0.167 304)
XYZxyz(40.6219, 29.8770, 83.7311)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17CED #B8ED7C
analogous
#7C7FED #B17CED #EA7CED
triadic
#B17CED #EDB17C #7CEDB1
tetradic
#B17CED #ED7C7F #B8ED7C #7CEDEA
square
#B17CED #ED7C7F #B8ED7C #7CEDEA
split-complementary
#B17CED #EDEA7C #7FED7C
monochromatic
#721DD2 #9146E6 #B17CED #D1B2F4 #EFE4FB

Accessibility & contrast

On white

3.01
#B17CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#B17CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17CED
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17CED#FFFFFF#000000##000000
##B17CED1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F1
Deuteranopia (green-blind)
#6995EA
Tritanopia (blue-blind)
#A790A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b17ced;
/* rgb */ color: rgb(177, 124, 237);
/* oklch */ color: oklch(68.6% 0.167 304.0);
Tailwind
colors: {
  custom: {
    50: '#cba3f3',
    500: '#b17ced',
    950: '#000000',
  },
}
SCSS
$custom: #b17ced;
$custom-light: #cba3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b17ced",
  "rgb": {
    "r": 177,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 268.142,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68594,
    "c": 0.16742,
    "h": 304
  },
  "luminance": 0.29877
}

Semantic roles & 50–950 ramp

primary
#B17CED
secondary
#E3F2D3
accent
#D80D79
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B17CED

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

Preview Lab → · Contrast checker → · Palette generator →

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