#B37FDA#B37FDA

#B37FDA is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.3% C 0.140 H 309.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B37FDA
RGBrgb(179, 127, 218)
HSLhsl(274, 55%, 68%)
HSVhsv(274, 42%, 85%)
CMYKcmyk(17.9%, 41.7%, 0%, 14.5%)
CIE-LABlab(61.50, 36.95, -39.01)
CIE-LCHlch(61.50, 53.73, 313.44°)
OKLaboklab(68.31% 0.089 -0.1083)
OKLCHoklch(68.31% 0.14 309.4)
XYZxyz(38.8323, 29.8249, 70.0272)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37FDA #A6DA7F
analogous
#857FDA #B37FDA #DA7FD3
triadic
#B37FDA #DAB37F #7FDAB3
tetradic
#B37FDA #DA857F #A6DA7F #7FD3DA
square
#B37FDA #DA857F #A6DA7F #7FD3DA
split-complementary
#B37FDA #D3DA7F #7FDA85
monochromatic
#7832AD #9750CC #B37FDA #CFAEE8 #EBDEF5

Accessibility & contrast

On white

3.02
#B37FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B37FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B37FDA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37FDA#FFFFFF#000000##000000
##B37FDA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B92DD
Deuteranopia (green-blind)
#7895D7
Tritanopia (blue-blind)
#AE8DA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b37fda;
/* rgb */ color: rgb(179, 127, 218);
/* oklch */ color: oklch(68.3% 0.140 309.4);
Tailwind
colors: {
  custom: {
    50: '#cba5e6',
    500: '#b37fda',
    950: '#000000',
  },
}
SCSS
$custom: #b37fda;
$custom-light: #cba5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b37fda",
  "rgb": {
    "r": 179,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 274.286,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6831,
    "c": 0.14017,
    "h": 309.4
  },
  "luminance": 0.29824
}

Semantic roles & 50–950 ramp

primary
#B37FDA
secondary
#D8E9CC
accent
#C32367
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B37FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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