#B37FEE#B37FEE

#B37FEE is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.3% C 0.164 H 304.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B37FEE
RGBrgb(179, 127, 238)
HSLhsl(268, 77%, 72%)
HSVhsv(268, 47%, 93%)
CMYKcmyk(24.8%, 46.6%, 0%, 6.7%)
CIE-LABlab(62.45, 41.49, -48.64)
CIE-LCHlch(62.45, 63.93, 310.47°)
OKLaboklab(69.33% 0.0921 -0.1362)
OKLCHoklch(69.33% 0.164 304.1)
XYZxyz(41.6091, 30.9356, 84.6515)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37FEE #BAEE7F
analogous
#7F83EE #B37FEE #EB7FEE
triadic
#B37FEE #EEB37F #7FEEB3
tetradic
#B37FEE #EE7F83 #BAEE7F #7FEEEB
square
#B37FEE #EE7F83 #BAEE7F #7FEEEB
split-complementary
#B37FEE #EEEB7F #83EE7F
monochromatic
#731CD6 #9349E7 #B37FEE #D3B5F5 #EFE4FB

Accessibility & contrast

On white

2.92
#B37FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B37FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37FEE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37FEE#FFFFFF#000000##000000
##B37FEE1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#6D97EB
Tritanopia (blue-blind)
#A992AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37fee;
/* rgb */ color: rgb(179, 127, 238);
/* oklch */ color: oklch(69.3% 0.164 304.1);
Tailwind
colors: {
  custom: {
    50: '#cca5f4',
    500: '#b37fee',
    950: '#000000',
  },
}
SCSS
$custom: #b37fee;
$custom-light: #cca5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b37fee",
  "rgb": {
    "r": 179,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 268.108,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69333,
    "c": 0.1644,
    "h": 304.1
  },
  "luminance": 0.30935
}

Semantic roles & 50–950 ramp

primary
#B37FEE
secondary
#E5F3D6
accent
#D90D79
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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