#B37EF8#B37EF8

#B37EF8 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.178 H 302.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B37EF8
RGBrgb(179, 126, 248)
HSLhsl(266, 90%, 73%)
HSVhsv(266, 49%, 97%)
CMYKcmyk(27.8%, 49.2%, 0%, 2.7%)
CIE-LABlab(62.75, 44.39, -53.69)
CIE-LCHlch(62.75, 69.67, 309.58°)
OKLaboklab(69.72% 0.0945 -0.1509)
OKLCHoklch(69.72% 0.178 302.1)
XYZxyz(42.9907, 31.2827, 92.5620)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EF8 #C3F87E
analogous
#7E86F8 #B37EF8 #F07EF8
triadic
#B37EF8 #F8B37E #7EF8B3
tetradic
#B37EF8 #F87E86 #C3F87E #7EF8F0
square
#B37EF8 #F87E86 #C3F87E #7EF8F0
split-complementary
#B37EF8 #F8F07E #86F87E
monochromatic
#6F0DEF #9144F5 #B37EF8 #D5B8FB #EEE2FD

Accessibility & contrast

On white

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

On black

7.26
#B37EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37EF8
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EF8#FFFFFF#000000##000000
##B37EF81.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#A694B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b37ef8;
/* rgb */ color: rgb(179, 126, 248);
/* oklch */ color: oklch(69.7% 0.178 302.1);
Tailwind
colors: {
  custom: {
    50: '#cda4fb',
    500: '#b37ef8',
    950: '#000000',
  },
}
SCSS
$custom: #b37ef8;
$custom-light: #cda4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ef8",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 266.066,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69716,
    "c": 0.17807,
    "h": 302.1
  },
  "luminance": 0.31283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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