#B37DFE#B37DFE

#B37DFE is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.187 H 301.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B37DFE
RGBrgb(179, 125, 254)
HSLhsl(265, 98%, 74%)
HSVhsv(265, 51%, 100%)
CMYKcmyk(29.5%, 50.8%, 0%, 0.4%)
CIE-LABlab(62.85, 46.36, -56.83)
CIE-LCHlch(62.85, 73.34, 309.21°)
OKLaboklab(69.9% 0.0963 -0.1601)
OKLCHoklch(69.9% 0.187 301)
XYZxyz(43.8093, 31.4065, 97.5008)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37DFE #C8FE7D
analogous
#7D88FE #B37DFE #F37DFE
triadic
#B37DFE #FEB37D #7DFEB3
tetradic
#B37DFE #FE7D88 #C8FE7D #7DFEF3
square
#B37DFE #FE7D88 #C8FE7D #7DFEF3
split-complementary
#B37DFE #FEF37D #88FE7D
monochromatic
#6C04FD #8F40FE #B37DFE #D7BAFE #EDE1FF

Accessibility & contrast

On white

2.88
#B37DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B37DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37DFE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37DFE#FFFFFF#000000##000000
##B37DFE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6097FB
Tritanopia (blue-blind)
#A495B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b37dfe;
/* rgb */ color: rgb(179, 125, 254);
/* oklch */ color: oklch(69.9% 0.187 301.0);
Tailwind
colors: {
  custom: {
    50: '#cda4ff',
    500: '#b37dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b37dfe;
$custom-light: #cda4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b37dfe",
  "rgb": {
    "r": 179,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 265.116,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69896,
    "c": 0.18681,
    "h": 301
  },
  "luminance": 0.31407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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