#B37AF8#B37AF8

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

Color values

HEX#B37AF8
RGBrgb(179, 122, 248)
HSLhsl(267, 90%, 73%)
HSVhsv(267, 51%, 97%)
CMYKcmyk(27.8%, 50.8%, 0%, 2.7%)
CIE-LABlab(61.90, 46.56, -55.05)
CIE-LCHlch(61.90, 72.09, 310.22°)
OKLaboklab(69.08% 0.0997 -0.1549)
OKLCHoklch(69.08% 0.184 302.8)
XYZxyz(42.4894, 30.2801, 92.3949)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37AF8 #BFF87A
analogous
#7A80F8 #B37AF8 #F27AF8
triadic
#B37AF8 #F8B37A #7AF8B3
tetradic
#B37AF8 #F87A80 #BFF87A #7AF8F2
square
#B37AF8 #F87A80 #BFF87A #7AF8F2
split-complementary
#B37AF8 #F8F27A #80F87A
monochromatic
#710CEB #9240F5 #B37AF8 #D4B4FB #EEE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B37AF8#FFFFFF#000000##000000
##B37AF81.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)
#5094FC
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#A691AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b37af8;
/* rgb */ color: rgb(179, 122, 248);
/* oklch */ color: oklch(69.1% 0.184 302.8);
Tailwind
colors: {
  custom: {
    50: '#cda2fb',
    500: '#b37af8',
    950: '#000000',
  },
}
SCSS
$custom: #b37af8;
$custom-light: #cda2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b37af8",
  "rgb": {
    "r": 179,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 267.143,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69084,
    "c": 0.18417,
    "h": 302.8
  },
  "luminance": 0.3028
}

Semantic roles & 50–950 ramp

primary
#B37AF8
secondary
#E7F6D5
accent
#E6007E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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