#B17DE2#B17DE2

#B17DE2 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.152 H 306.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#B17DE2
RGBrgb(177, 125, 226)
HSLhsl(271, 64%, 69%)
HSVhsv(271, 45%, 89%)
CMYKcmyk(21.7%, 44.7%, 0%, 11.4%)
CIE-LABlab(61.23, 39.28, -43.93)
CIE-LCHlch(61.23, 58.93, 311.80°)
OKLaboklab(68.18% 0.0908 -0.1225)
OKLCHoklch(68.18% 0.152 306.5)
XYZxyz(39.1898, 29.5057, 75.5674)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17DE2 #AEE27D
analogous
#7F7DE2 #B17DE2 #E27DE1
triadic
#B17DE2 #E2B17D #7DE2B1
tetradic
#B17DE2 #E27F7D #AEE27D #7DE1E2
square
#B17DE2 #E27F7D #AEE27D #7DE1E2
split-complementary
#B17DE2 #E1E27D #7DE27F
monochromatic
#742ABB #934BD7 #B17DE2 #CFAFED #EDE1F8

Accessibility & contrast

On white

3.04
#B17DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#B17DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17DE2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17DE2#FFFFFF#000000##000000
##B17DE21.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#AA8EA5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b17de2;
/* rgb */ color: rgb(177, 125, 226);
/* oklch */ color: oklch(68.2% 0.152 306.5);
Tailwind
colors: {
  custom: {
    50: '#caa3eb',
    500: '#b17de2',
    950: '#000000',
  },
}
SCSS
$custom: #b17de2;
$custom-light: #caa3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b17de2",
  "rgb": {
    "r": 177,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 270.891,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68176,
    "c": 0.15249,
    "h": 306.5
  },
  "luminance": 0.29505
}

Semantic roles & 50–950 ramp

primary
#B17DE2
secondary
#DDECCE
accent
#CB1A70
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B17DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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