#B37DEC#B37DEC

#B37DEC is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.165 H 304.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B37DEC
RGBrgb(179, 125, 236)
HSLhsl(269, 74%, 71%)
HSVhsv(269, 47%, 93%)
CMYKcmyk(24.2%, 47%, 0%, 7.5%)
CIE-LABlab(61.92, 42.12, -48.38)
CIE-LCHlch(61.92, 64.15, 311.05°)
OKLaboklab(68.9% 0.0945 -0.1354)
OKLCHoklch(68.9% 0.165 304.9)
XYZxyz(41.0612, 30.3073, 83.0273)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37DEC #B6EC7D
analogous
#7D7EEC #B37DEC #EA7DEC
triadic
#B37DEC #ECB37D #7DECB3
tetradic
#B37DEC #EC7D7E #B6EC7D #7DECEA
square
#B37DEC #EC7D7E #B6EC7D #7DECEA
split-complementary
#B37DEC #ECEA7D #7EEC7D
monochromatic
#751ED0 #9448E4 #B37DEC #D2B2F4 #EFE4FB

Accessibility & contrast

On white

2.97
#B37DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B37DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37DEC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37DEC#FFFFFF#000000##000000
##B37DEC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#6C96E9
Tritanopia (blue-blind)
#AA90A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b37dec;
/* rgb */ color: rgb(179, 125, 236);
/* oklch */ color: oklch(68.9% 0.165 304.9);
Tailwind
colors: {
  custom: {
    50: '#cca4f2',
    500: '#b37dec',
    950: '#000000',
  },
}
SCSS
$custom: #b37dec;
$custom-light: #cca4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b37dec",
  "rgb": {
    "r": 179,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 269.189,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68901,
    "c": 0.16514,
    "h": 304.9
  },
  "luminance": 0.30307
}

Semantic roles & 50–950 ramp

primary
#B37DEC
secondary
#E3F1D3
accent
#D70F75
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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