#B37EEA#B37EEA

#B37EEA is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.161 H 305.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B37EEA
RGBrgb(179, 126, 234)
HSLhsl(269, 72%, 71%)
HSVhsv(269, 46%, 92%)
CMYKcmyk(23.5%, 46.2%, 0%, 8.2%)
CIE-LABlab(62.04, 41.11, -47.08)
CIE-LCHlch(62.04, 62.51, 311.13°)
OKLaboklab(68.96% 0.0929 -0.1316)
OKLCHoklch(68.96% 0.161 305.2)
XYZxyz(40.8994, 30.4462, 81.5480)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EEA #B5EA7E
analogous
#7E7FEA #B37EEA #E97EEA
triadic
#B37EEA #EAB37E #7EEAB3
tetradic
#B37EEA #EA7E7F #B5EA7E #7EEAE9
square
#B37EEA #EA7E7F #B5EA7E #7EEAE9
split-complementary
#B37EEA #EAE97E #7FEA7E
monochromatic
#7521CC #9449E1 #B37EEA #D2B3F3 #EFE5FB

Accessibility & contrast

On white

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

On black

7.09
#B37EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37EEA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EEA#FFFFFF#000000##000000
##B37EEA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#6F96E7
Tritanopia (blue-blind)
#AA90A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b37eea;
/* rgb */ color: rgb(179, 126, 234);
/* oklch */ color: oklch(69.0% 0.161 305.2);
Tailwind
colors: {
  custom: {
    50: '#cca4f1',
    500: '#b37eea',
    950: '#000000',
  },
}
SCSS
$custom: #b37eea;
$custom-light: #cca4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b37eea",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 269.444,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68957,
    "c": 0.16113,
    "h": 305.2
  },
  "luminance": 0.30446
}

Semantic roles & 50–950 ramp

primary
#B37EEA
secondary
#E2F1D3
accent
#D41175
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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