#B37EF9#B37EF9

#B37EF9 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.179 H 301.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B37EF9
RGBrgb(179, 126, 249)
HSLhsl(266, 91%, 74%)
HSVhsv(266, 49%, 98%)
CMYKcmyk(28.1%, 49.4%, 0%, 2.4%)
CIE-LABlab(62.80, 44.63, -54.16)
CIE-LCHlch(62.80, 70.18, 309.49°)
OKLaboklab(69.77% 0.0946 -0.1523)
OKLCHoklch(69.77% 0.179 301.8)
XYZxyz(43.1463, 31.3449, 93.3813)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EF9 #C4F97E
analogous
#7E86F9 #B37EF9 #F17EF9
triadic
#B37EF9 #F9B37E #7EF9B3
tetradic
#B37EF9 #F97E86 #C4F97E #7EF9F1
square
#B37EF9 #F97E86 #C4F97E #7EF9F1
split-complementary
#B37EF9 #F9F17E #86F97E
monochromatic
#6E0BF1 #9144F6 #B37EF9 #D5B8FC #EEE2FE

Accessibility & contrast

On white

2.89
#B37EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B37EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37EF9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EF9#FFFFFF#000000##000000
##B37EF91.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#6597F6
Tritanopia (blue-blind)
#A695B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b37ef9;
/* rgb */ color: rgb(179, 126, 249);
/* oklch */ color: oklch(69.8% 0.179 301.8);
Tailwind
colors: {
  custom: {
    50: '#cda4fc',
    500: '#b37ef9',
    950: '#000000',
  },
}
SCSS
$custom: #b37ef9;
$custom-light: #cda4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ef9",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 265.854,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69772,
    "c": 0.17927,
    "h": 301.8
  },
  "luminance": 0.31345
}

Semantic roles & 50–950 ramp

primary
#B37EF9
secondary
#E8F6D5
accent
#E60083
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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