#B37AEE#B37AEE

#B37AEE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.5% C 0.172 H 305.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B37AEE
RGBrgb(179, 122, 238)
HSLhsl(269, 77%, 71%)
HSVhsv(269, 49%, 93%)
CMYKcmyk(24.8%, 48.7%, 0%, 6.7%)
CIE-LABlab(61.37, 44.22, -50.35)
CIE-LCHlch(61.37, 67.01, 311.29°)
OKLaboklab(68.53% 0.0988 -0.1411)
OKLCHoklch(68.53% 0.172 305)
XYZxyz(40.9793, 29.6760, 84.4415)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37AEE #B5EE7A
analogous
#7A7BEE #B37AEE #ED7AEE
triadic
#B37AEE #EEB37A #7AEEB3
tetradic
#B37AEE #EE7A7B #B5EE7A #7AEEED
square
#B37AEE #EE7A7B #B5EE7A #7AEEED
split-complementary
#B37AEE #EEED7A #7BEE7A
monochromatic
#751BD3 #9444E7 #B37AEE #D2B0F5 #EFE4FC

Accessibility & contrast

On white

3.03
#B37AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B37AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B37AEE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37AEE#FFFFFF#000000##000000
##B37AEE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F2
Deuteranopia (green-blind)
#6894EB
Tritanopia (blue-blind)
#A98EA9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b37aee;
/* rgb */ color: rgb(179, 122, 238);
/* oklch */ color: oklch(68.5% 0.172 305.0);
Tailwind
colors: {
  custom: {
    50: '#cca2f4',
    500: '#b37aee',
    950: '#000000',
  },
}
SCSS
$custom: #b37aee;
$custom-light: #cca2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b37aee",
  "rgb": {
    "r": 179,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 269.483,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68528,
    "c": 0.17227,
    "h": 305
  },
  "luminance": 0.29676
}

Semantic roles & 50–950 ramp

primary
#B37AEE
secondary
#E2F2D2
accent
#DA0C75
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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