#B17FEB#B17FEB

#B17FEB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.160 H 303.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B17FEB
RGBrgb(177, 127, 235)
HSLhsl(268, 73%, 71%)
HSVhsv(268, 46%, 92%)
CMYKcmyk(24.7%, 46%, 0%, 7.8%)
CIE-LABlab(62.10, 40.25, -47.54)
CIE-LCHlch(62.10, 62.29, 310.25°)
OKLaboklab(68.98% 0.0893 -0.133)
OKLCHoklch(68.98% 0.16 303.9)
XYZxyz(40.7130, 30.5241, 82.3281)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17FEB #B9EB7F
analogous
#7F83EB #B17FEB #E77FEB
triadic
#B17FEB #EBB17F #7FEBB1
tetradic
#B17FEB #EB7F83 #B9EB7F #7FEBE7
square
#B17FEB #EB7F83 #B9EB7F #7FEBE7
split-complementary
#B17FEB #EBE77F #83EB7F
monochromatic
#7120CF #914AE3 #B17FEB #D1B4F3 #EFE5FB

Accessibility & contrast

On white

2.96
#B17FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B17FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B17FEB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17FEB#FFFFFF#000000##000000
##B17FEB1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#A792AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b17feb;
/* rgb */ color: rgb(177, 127, 235);
/* oklch */ color: oklch(69.0% 0.160 303.9);
Tailwind
colors: {
  custom: {
    50: '#caa5f2',
    500: '#b17feb',
    950: '#000000',
  },
}
SCSS
$custom: #b17feb;
$custom-light: #caa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b17feb",
  "rgb": {
    "r": 177,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 267.778,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68977,
    "c": 0.16023,
    "h": 303.9
  },
  "luminance": 0.30524
}

Semantic roles & 50–950 ramp

primary
#B17FEB
secondary
#E4F1D5
accent
#D5107A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #B17FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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