#B37BEE#B37BEE

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

Color values

HEX#B37BEE
RGBrgb(179, 123, 238)
HSLhsl(269, 77%, 71%)
HSVhsv(269, 48%, 93%)
CMYKcmyk(24.8%, 48.3%, 0%, 6.7%)
CIE-LABlab(61.59, 43.68, -50.01)
CIE-LCHlch(61.59, 66.40, 311.13°)
OKLaboklab(68.69% 0.0974 -0.1402)
OKLCHoklch(68.69% 0.171 304.8)
XYZxyz(41.1027, 29.9229, 84.4827)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37BEE #B6EE7B
analogous
#7B7CEE #B37BEE #EC7BEE
triadic
#B37BEE #EEB37B #7BEEB3
tetradic
#B37BEE #EE7B7C #B6EE7B #7BEEEC
square
#B37BEE #EE7B7C #B6EE7B #7BEEEC
split-complementary
#B37BEE #EEEC7B #7CEE7B
monochromatic
#751BD3 #9445E7 #B37BEE #D2B1F5 #EFE4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B37BEE#FFFFFF#000000##000000
##B37BEE1.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)
#5A93F2
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#A98FA9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b37bee;
/* rgb */ color: rgb(179, 123, 238);
/* oklch */ color: oklch(68.7% 0.171 304.8);
Tailwind
colors: {
  custom: {
    50: '#cca2f4',
    500: '#b37bee',
    950: '#000000',
  },
}
SCSS
$custom: #b37bee;
$custom-light: #cca2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b37bee",
  "rgb": {
    "r": 179,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 269.217,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68687,
    "c": 0.17071,
    "h": 304.8
  },
  "luminance": 0.29923
}

Semantic roles & 50–950 ramp

primary
#B37BEE
secondary
#E3F2D3
accent
#D90C75
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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