#B17BED#B17BED

#B17BED is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.4% C 0.169 H 304.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#B17BED
RGBrgb(177, 123, 237)
HSLhsl(268, 76%, 71%)
HSVhsv(268, 48%, 93%)
CMYKcmyk(25.3%, 48.1%, 0%, 7.1%)
CIE-LABlab(61.33, 42.91, -49.87)
CIE-LCHlch(61.33, 65.80, 310.71°)
OKLaboklab(68.43% 0.0949 -0.1398)
OKLCHoklch(68.43% 0.169 304.2)
XYZxyz(40.4972, 29.6276, 83.6896)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B17BED #B7ED7B
analogous
#7B7EED #B17BED #EA7BED
triadic
#B17BED #EDB17B #7BEDB1
tetradic
#B17BED #ED7B7E #B7ED7B #7BEDEA
square
#B17BED #ED7B7E #B7ED7B #7BEDEA
split-complementary
#B17BED #EDEA7B #7EED7B
monochromatic
#721DD1 #9145E6 #B17BED #D1B1F4 #EFE4FB

Accessibility & contrast

On white

3.03
#B17BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#B17BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B17BED
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B17BED#FFFFFF#000000##000000
##B17BED1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#6894EA
Tritanopia (blue-blind)
#A78FA9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b17bed;
/* rgb */ color: rgb(177, 123, 237);
/* oklch */ color: oklch(68.4% 0.169 304.2);
Tailwind
colors: {
  custom: {
    50: '#cba2f3',
    500: '#b17bed',
    950: '#000000',
  },
}
SCSS
$custom: #b17bed;
$custom-light: #cba2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b17bed",
  "rgb": {
    "r": 177,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 268.421,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68433,
    "c": 0.16898,
    "h": 304.2
  },
  "luminance": 0.29627
}

Semantic roles & 50–950 ramp

primary
#B17BED
secondary
#E3F1D2
accent
#D80D78
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B17BED

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

Preview Lab → · Contrast checker → · Palette generator →

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