#B37CEA#B37CEA

#B37CEA is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.6% C 0.164 H 305.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#B37CEA
RGBrgb(179, 124, 234)
HSLhsl(270, 72%, 70%)
HSVhsv(270, 47%, 92%)
CMYKcmyk(23.5%, 47%, 0%, 8.2%)
CIE-LABlab(61.60, 42.21, -47.77)
CIE-LCHlch(61.60, 63.74, 311.46°)
OKLaboklab(68.63% 0.0956 -0.1336)
OKLCHoklch(68.63% 0.164 305.6)
XYZxyz(40.6463, 29.9398, 81.4636)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37CEA #B3EA7C
analogous
#7C7CEA #B37CEA #EA7CEA
triadic
#B37CEA #EAB37C #7CEAB3
tetradic
#B37CEA #EA7C7C #B3EA7C #7CEAEA
square
#B37CEA #EA7C7C #B3EA7C #7CEAEA
split-complementary
#B37CEA #EAEA7C #7CEA7C
monochromatic
#7621CB #9447E2 #B37CEA #D2B1F2 #F0E5FB

Accessibility & contrast

On white

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

On black

6.99
#B37CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B37CEA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37CEA#FFFFFF#000000##000000
##B37CEA1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#6D95E7
Tritanopia (blue-blind)
#AA8FA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b37cea;
/* rgb */ color: rgb(179, 124, 234);
/* oklch */ color: oklch(68.6% 0.164 305.6);
Tailwind
colors: {
  custom: {
    50: '#cca3f1',
    500: '#b37cea',
    950: '#000000',
  },
}
SCSS
$custom: #b37cea;
$custom-light: #cca3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b37cea",
  "rgb": {
    "r": 179,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 270,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68632,
    "c": 0.16433,
    "h": 305.6
  },
  "luminance": 0.2994
}

Semantic roles & 50–950 ramp

primary
#B37CEA
secondary
#E1F0D2
accent
#D41173
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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