#B37FEB#B37FEB

#B37FEB is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.2% C 0.161 H 304.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B37FEB
RGBrgb(179, 127, 235)
HSLhsl(269, 73%, 71%)
HSVhsv(269, 46%, 92%)
CMYKcmyk(23.8%, 46%, 0%, 7.8%)
CIE-LABlab(62.31, 40.80, -47.21)
CIE-LCHlch(62.31, 62.40, 310.83°)
OKLaboklab(69.17% 0.0917 -0.132)
OKLCHoklch(69.17% 0.161 304.8)
XYZxyz(41.1720, 30.7608, 82.3496)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37FEB #B7EB7F
analogous
#7F81EB #B37FEB #E97FEB
triadic
#B37FEB #EBB37F #7FEBB3
tetradic
#B37FEB #EB7F81 #B7EB7F #7FEBE9
square
#B37FEB #EB7F81 #B7EB7F #7FEBE9
split-complementary
#B37FEB #EBE97F #81EB7F
monochromatic
#7520CF #944AE3 #B37FEB #D2B4F3 #EFE5FB

Accessibility & contrast

On white

2.94
#B37FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B37FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37FEB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37FEB#FFFFFF#000000##000000
##B37FEB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#AA91AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37feb;
/* rgb */ color: rgb(179, 127, 235);
/* oklch */ color: oklch(69.2% 0.161 304.8);
Tailwind
colors: {
  custom: {
    50: '#cca5f2',
    500: '#b37feb',
    950: '#000000',
  },
}
SCSS
$custom: #b37feb;
$custom-light: #cca5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b37feb",
  "rgb": {
    "r": 179,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 268.889,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69174,
    "c": 0.16075,
    "h": 304.8
  },
  "luminance": 0.30761
}

Semantic roles & 50–950 ramp

primary
#B37FEB
secondary
#E3F1D5
accent
#D51076
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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