#B37EF6#B37EF6

#B37EF6 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.176 H 302.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B37EF6
RGBrgb(179, 126, 246)
HSLhsl(267, 87%, 73%)
HSVhsv(267, 49%, 96%)
CMYKcmyk(27.2%, 48.8%, 0%, 3.5%)
CIE-LABlab(62.64, 43.92, -52.76)
CIE-LCHlch(62.64, 68.64, 309.77°)
OKLaboklab(69.6% 0.0943 -0.1482)
OKLCHoklch(69.6% 0.176 302.5)
XYZxyz(42.6821, 31.1592, 90.9366)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EF6 #C1F67E
analogous
#7E85F6 #B37EF6 #EF7EF6
triadic
#B37EF6 #F6B37E #7EF6B3
tetradic
#B37EF6 #F67E85 #C1F67E #7EF6EF
square
#B37EF6 #F67E85 #C1F67E #7EF6EF
split-complementary
#B37EF6 #F6EF7E #85F67E
monochromatic
#7010E9 #9145F2 #B37EF6 #D5B7FA #EEE2FD

Accessibility & contrast

On white

2.90
#B37EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B37EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37EF6
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EF6#FFFFFF#000000##000000
##B37EF61.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996FA
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#A794AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37ef6;
/* rgb */ color: rgb(179, 126, 246);
/* oklch */ color: oklch(69.6% 0.176 302.5);
Tailwind
colors: {
  custom: {
    50: '#cca4fa',
    500: '#b37ef6',
    950: '#000000',
  },
}
SCSS
$custom: #b37ef6;
$custom-light: #cca4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ef6",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 266.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69605,
    "c": 0.17565,
    "h": 302.5
  },
  "luminance": 0.31159
}

Semantic roles & 50–950 ramp

primary
#B37EF6
secondary
#E7F5D6
accent
#E40280
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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