#B37BFD#B37BFD

#B37BFD is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.189 H 301.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B37BFD
RGBrgb(179, 123, 253)
HSLhsl(266, 97%, 74%)
HSVhsv(266, 51%, 99%)
CMYKcmyk(29.2%, 51.4%, 0%, 0.8%)
CIE-LABlab(62.37, 47.20, -57.03)
CIE-LCHlch(62.37, 74.03, 309.61°)
OKLaboklab(69.53% 0.0988 -0.1607)
OKLCHoklch(69.53% 0.189 301.6)
XYZxyz(43.3989, 30.8414, 96.5760)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37BFD #C5FD7B
analogous
#7B84FD #B37BFD #F47BFD
triadic
#B37BFD #FDB37B #7BFDB3
tetradic
#B37BFD #FD7B84 #C5FD7B #7BFDF4
square
#B37BFD #FD7B84 #C5FD7B #7BFDF4
split-complementary
#B37BFD #FDF47B #84FD7B
monochromatic
#6E04FA #903FFC #B37BFD #D6B7FE #EEE1FF

Accessibility & contrast

On white

2.93
#B37BFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B37BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37BFD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37BFD#FFFFFF#000000##000000
##B37BFD1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#A594B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37bfd;
/* rgb */ color: rgb(179, 123, 253);
/* oklch */ color: oklch(69.5% 0.189 301.6);
Tailwind
colors: {
  custom: {
    50: '#cda3ff',
    500: '#b37bfd',
    950: '#000000',
  },
}
SCSS
$custom: #b37bfd;
$custom-light: #cda3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b37bfd",
  "rgb": {
    "r": 179,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 265.846,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69526,
    "c": 0.18861,
    "h": 301.6
  },
  "luminance": 0.30841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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