#B47DFD#B47DFD

#B47DFD is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.186 H 301.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B47DFD
RGBrgb(180, 125, 253)
HSLhsl(266, 97%, 74%)
HSVhsv(266, 51%, 99%)
CMYKcmyk(28.9%, 50.6%, 0%, 0.8%)
CIE-LABlab(62.90, 46.37, -56.20)
CIE-LCHlch(62.90, 72.86, 309.53°)
OKLaboklab(69.94% 0.0974 -0.1582)
OKLCHoklch(69.94% 0.186 301.6)
XYZxyz(43.8816, 31.4623, 96.6705)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47DFD #C6FD7D
analogous
#7D86FD #B47DFD #F47DFD
triadic
#B47DFD #FDB47D #7DFDB4
tetradic
#B47DFD #FD7D86 #C6FD7D #7DFDF4
square
#B47DFD #FD7D86 #C6FD7D #7DFDF4
split-complementary
#B47DFD #FDF47D #86FD7D
monochromatic
#6E04FB #9141FC #B47DFD #D7B9FE #EEE1FF

Accessibility & contrast

On white

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

On black

7.29
#B47DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47DFD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47DFD#FFFFFF#000000##000000
##B47DFD1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6198FA
Tritanopia (blue-blind)
#A695B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b47dfd;
/* rgb */ color: rgb(180, 125, 253);
/* oklch */ color: oklch(69.9% 0.186 301.6);
Tailwind
colors: {
  custom: {
    50: '#cea4ff',
    500: '#b47dfd',
    950: '#000000',
  },
}
SCSS
$custom: #b47dfd;
$custom-light: #cea4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b47dfd",
  "rgb": {
    "r": 180,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 265.781,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69937,
    "c": 0.18581,
    "h": 301.6
  },
  "luminance": 0.31462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B47DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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