#B37DEB#B37DEB

#B37DEB is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.8% C 0.164 H 305.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#B37DEB
RGBrgb(179, 125, 235)
HSLhsl(269, 73%, 71%)
HSVhsv(269, 47%, 92%)
CMYKcmyk(23.8%, 46.8%, 0%, 7.8%)
CIE-LABlab(61.87, 41.89, -47.90)
CIE-LCHlch(61.87, 63.64, 311.17°)
OKLaboklab(68.85% 0.0944 -0.134)
OKLCHoklch(68.85% 0.164 305.2)
XYZxyz(40.9163, 30.2493, 82.2643)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37DEB #B5EB7D
analogous
#7D7EEB #B37DEB #EA7DEB
triadic
#B37DEB #EBB37D #7DEBB3
tetradic
#B37DEB #EB7D7E #B5EB7D #7DEBEA
square
#B37DEB #EB7D7E #B5EB7D #7DEBEA
split-complementary
#B37DEB #EBEA7D #7EEB7D
monochromatic
#7520CE #9448E3 #B37DEB #D2B2F3 #EFE4FB

Accessibility & contrast

On white

2.98
#B37DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#B37DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37DEB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37DEB#FFFFFF#000000##000000
##B37DEB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#AA90A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b37deb;
/* rgb */ color: rgb(179, 125, 235);
/* oklch */ color: oklch(68.8% 0.164 305.2);
Tailwind
colors: {
  custom: {
    50: '#cca4f2',
    500: '#b37deb',
    950: '#000000',
  },
}
SCSS
$custom: #b37deb;
$custom-light: #cca4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b37deb",
  "rgb": {
    "r": 179,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 269.455,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68848,
    "c": 0.16394,
    "h": 305.2
  },
  "luminance": 0.30249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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