#B37CEB#B37CEB

#B37CEB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.7% C 0.166 H 305.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B37CEB
RGBrgb(179, 124, 235)
HSLhsl(270, 74%, 70%)
HSVhsv(270, 47%, 92%)
CMYKcmyk(23.8%, 47.2%, 0%, 7.8%)
CIE-LABlab(61.65, 42.44, -48.24)
CIE-LCHlch(61.65, 64.25, 311.34°)
OKLaboklab(68.69% 0.0957 -0.135)
OKLCHoklch(68.69% 0.166 305.3)
XYZxyz(40.7903, 29.9974, 82.2223)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37CEB #B4EB7C
analogous
#7C7CEB #B37CEB #EB7CEB
triadic
#B37CEB #EBB37C #7CEBB3
tetradic
#B37CEB #EB7C7C #B4EB7C #7CEBEB
square
#B37CEB #EB7C7C #B4EB7C #7CEBEB
split-complementary
#B37CEB #EBEB7C #7CEB7C
monochromatic
#761FCD #9447E3 #B37CEB #D2B1F3 #F0E4FB

Accessibility & contrast

On white

3.00
#B37CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B37CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37CEB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37CEB#FFFFFF#000000##000000
##B37CEB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b37ceb;
/* rgb */ color: rgb(179, 124, 235);
/* oklch */ color: oklch(68.7% 0.166 305.3);
Tailwind
colors: {
  custom: {
    50: '#cca3f2',
    500: '#b37ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b37ceb;
$custom-light: #cca3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ceb",
  "rgb": {
    "r": 179,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 269.73,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68686,
    "c": 0.16553,
    "h": 305.3
  },
  "luminance": 0.29997
}

Semantic roles & 50–950 ramp

primary
#B37CEB
secondary
#E2F1D2
accent
#D61074
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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