#B37BFE#B37BFE

#B37BFE is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.190 H 301.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B37BFE
RGBrgb(179, 123, 254)
HSLhsl(266, 98%, 74%)
HSVhsv(266, 52%, 100%)
CMYKcmyk(29.5%, 51.6%, 0%, 0.4%)
CIE-LABlab(62.43, 47.44, -57.50)
CIE-LCHlch(62.43, 74.54, 309.53°)
OKLaboklab(69.58% 0.0988 -0.162)
OKLCHoklch(69.58% 0.19 301.4)
XYZxyz(43.5586, 30.9052, 97.4172)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37BFE #C6FE7B
analogous
#7B85FE #B37BFE #F57BFE
triadic
#B37BFE #FEB37B #7BFEB3
tetradic
#B37BFE #FE7B85 #C6FE7B #7BFEF5
square
#B37BFE #FE7B85 #C6FE7B #7BFEF5
split-complementary
#B37BFE #FEF57B #85FE7B
monochromatic
#6D02FD #903EFE #B37BFE #D6B8FE #EEE1FF

Accessibility & contrast

On white

2.92
#B37BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#B37BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37BFE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37BFE#FFFFFF#000000##000000
##B37BFE1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#A494B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37bfe;
/* rgb */ color: rgb(179, 123, 254);
/* oklch */ color: oklch(69.6% 0.190 301.4);
Tailwind
colors: {
  custom: {
    50: '#cda3ff',
    500: '#b37bfe',
    950: '#000000',
  },
}
SCSS
$custom: #b37bfe;
$custom-light: #cda3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b37bfe",
  "rgb": {
    "r": 179,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 265.649,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69583,
    "c": 0.1898,
    "h": 301.4
  },
  "luminance": 0.30905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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