#B37AFE#B37AFE

#B37AFE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.4% C 0.191 H 301.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B37AFE
RGBrgb(179, 122, 254)
HSLhsl(266, 99%, 74%)
HSVhsv(266, 52%, 100%)
CMYKcmyk(29.5%, 52%, 0%, 0.4%)
CIE-LABlab(62.22, 47.98, -57.83)
CIE-LCHlch(62.22, 75.14, 309.68°)
OKLaboklab(69.43% 0.1001 -0.163)
OKLCHoklch(69.43% 0.191 301.5)
XYZxyz(43.4352, 30.6584, 97.3761)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37AFE #C5FE7A
analogous
#7A83FE #B37AFE #F57AFE
triadic
#B37AFE #FEB37A #7AFEB3
tetradic
#B37AFE #FE7A83 #C5FE7A #7AFEF5
square
#B37AFE #FE7A83 #C5FE7A #7AFEF5
split-complementary
#B37AFE #FEF57A #83FE7A
monochromatic
#6E02FC #903DFE #B37AFE #D6B7FE #EEE1FF

Accessibility & contrast

On white

2.94
#B37AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B37AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37AFE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37AFE#FFFFFF#000000##000000
##B37AFE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5C96FB
Tritanopia (blue-blind)
#A593B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b37afe;
/* rgb */ color: rgb(179, 122, 254);
/* oklch */ color: oklch(69.4% 0.191 301.5);
Tailwind
colors: {
  custom: {
    50: '#cda2ff',
    500: '#b37afe',
    950: '#000000',
  },
}
SCSS
$custom: #b37afe;
$custom-light: #cda2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b37afe",
  "rgb": {
    "r": 179,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 265.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69428,
    "c": 0.19129,
    "h": 301.5
  },
  "luminance": 0.30659
}

Semantic roles & 50–950 ramp

primary
#B37AFE
secondary
#E8F7D4
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B37AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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