#B37EE7#B37EE7

#B37EE7 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.158 H 306.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B37EE7
RGBrgb(179, 126, 231)
HSLhsl(270, 69%, 70%)
HSVhsv(270, 45%, 91%)
CMYKcmyk(22.5%, 45.5%, 0%, 9.4%)
CIE-LABlab(61.89, 40.43, -45.65)
CIE-LCHlch(61.89, 60.97, 311.53°)
OKLaboklab(68.8% 0.0925 -0.1275)
OKLCHoklch(68.8% 0.158 306)
XYZxyz(40.4721, 30.2752, 79.2974)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EE7 #B2E77E
analogous
#7F7EE7 #B37EE7 #E77EE6
triadic
#B37EE7 #E7B37E #7EE7B3
tetradic
#B37EE7 #E77F7E #B2E77E #7EE6E7
square
#B37EE7 #E77F7E #B2E77E #7EE6E7
split-complementary
#B37EE7 #E6E77E #7EE77F
monochromatic
#7625C6 #954ADD #B37EE7 #D1B2F1 #F0E5FA

Accessibility & contrast

On white

2.98
#B37EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B37EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37EE7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EE7#FFFFFF#000000##000000
##B37EE71.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#7096E4
Tritanopia (blue-blind)
#AB90A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b37ee7;
/* rgb */ color: rgb(179, 126, 231);
/* oklch */ color: oklch(68.8% 0.158 306.0);
Tailwind
colors: {
  custom: {
    50: '#cca4ef',
    500: '#b37ee7',
    950: '#000000',
  },
}
SCSS
$custom: #b37ee7;
$custom-light: #cca4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ee7",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 270.286,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.688,
    "c": 0.1575,
    "h": 306
  },
  "luminance": 0.30275
}

Semantic roles & 50–950 ramp

primary
#B37EE7
secondary
#E0EFD2
accent
#D11572
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B37EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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