#B37EDA#B37EDA

#B37EDA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.1% C 0.142 H 309.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B37EDA
RGBrgb(179, 126, 218)
HSLhsl(275, 55%, 67%)
HSVhsv(275, 42%, 85%)
CMYKcmyk(17.9%, 42.2%, 0%, 14.5%)
CIE-LABlab(61.28, 37.50, -39.36)
CIE-LCHlch(61.28, 54.37, 313.61°)
OKLaboklab(68.14% 0.0904 -0.1093)
OKLCHoklch(68.14% 0.142 309.6)
XYZxyz(38.7038, 29.5679, 69.9843)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EDA #A5DA7E
analogous
#857EDA #B37EDA #DA7ED3
triadic
#B37EDA #DAB37E #7EDAB3
tetradic
#B37EDA #DA857E #A5DA7E #7ED3DA
square
#B37EDA #DA857E #A5DA7E #7ED3DA
split-complementary
#B37EDA #D3DA7E #7EDA85
monochromatic
#7831AC #974ECC #B37EDA #CFAEE8 #EBDDF5

Accessibility & contrast

On white

3.04
#B37EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#B37EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B37EDA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EDA#FFFFFF#000000##000000
##B37EDA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DD
Deuteranopia (green-blind)
#7795D7
Tritanopia (blue-blind)
#AE8CA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b37eda;
/* rgb */ color: rgb(179, 126, 218);
/* oklch */ color: oklch(68.1% 0.142 309.6);
Tailwind
colors: {
  custom: {
    50: '#cba4e6',
    500: '#b37eda',
    950: '#000000',
  },
}
SCSS
$custom: #b37eda;
$custom-light: #cba4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b37eda",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 274.565,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68142,
    "c": 0.14185,
    "h": 309.6
  },
  "luminance": 0.29567
}

Semantic roles & 50–950 ramp

primary
#B37EDA
secondary
#D8E8CC
accent
#C32367
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B37EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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