#B37EF1#B37EF1

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

Color values

HEX#B37EF1
RGBrgb(179, 126, 241)
HSLhsl(268, 80%, 72%)
HSVhsv(268, 48%, 95%)
CMYKcmyk(25.7%, 47.7%, 0%, 5.5%)
CIE-LABlab(62.39, 42.74, -50.40)
CIE-LCHlch(62.39, 66.08, 310.30°)
OKLaboklab(69.33% 0.0938 -0.1413)
OKLCHoklch(69.33% 0.17 303.6)
XYZxyz(41.9250, 30.8564, 86.9492)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EF1 #BCF17E
analogous
#7E83F1 #B37EF1 #ED7EF1
triadic
#B37EF1 #F1B37E #7EF1B3
tetradic
#B37EF1 #F17E83 #BCF17E #7EF1ED
square
#B37EF1 #F17E83 #BCF17E #7EF1ED
split-complementary
#B37EF1 #F1ED7E #83F17E
monochromatic
#7318DD #9247EB #B37EF1 #D4B5F7 #EFE3FC

Accessibility & contrast

On white

2.93
#B37EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B37EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37EF1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EF1#FFFFFF#000000##000000
##B37EF11.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F5
Deuteranopia (green-blind)
#6A97EE
Tritanopia (blue-blind)
#A892AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37ef1;
/* rgb */ color: rgb(179, 126, 241);
/* oklch */ color: oklch(69.3% 0.170 303.6);
Tailwind
colors: {
  custom: {
    50: '#cca4f6',
    500: '#b37ef1',
    950: '#000000',
  },
}
SCSS
$custom: #b37ef1;
$custom-light: #cca4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ef1",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 267.652,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69332,
    "c": 0.16961,
    "h": 303.6
  },
  "luminance": 0.30856
}

Semantic roles & 50–950 ramp

primary
#B37EF1
secondary
#E7F4D7
accent
#DD097B
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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