#B47DFE#B47DFE

#B47DFE is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.187 H 301.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B47DFE
RGBrgb(180, 125, 254)
HSLhsl(266, 98%, 74%)
HSVhsv(266, 51%, 100%)
CMYKcmyk(29.1%, 50.8%, 0%, 0.4%)
CIE-LABlab(62.95, 46.61, -56.66)
CIE-LCHlch(62.95, 73.37, 309.44°)
OKLaboklab(69.99% 0.0975 -0.1596)
OKLCHoklch(69.99% 0.187 301.4)
XYZxyz(44.0413, 31.5262, 97.5116)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47DFE #C7FE7D
analogous
#7D87FE #B47DFE #F47DFE
triadic
#B47DFE #FEB47D #7DFEB4
tetradic
#B47DFE #FE7D87 #C7FE7D #7DFEF4
square
#B47DFE #FE7D87 #C7FE7D #7DFEF4
split-complementary
#B47DFE #FEF47D #87FE7D
monochromatic
#6E04FD #9140FE #B47DFE #D7BAFE #EDE1FF

Accessibility & contrast

On white

2.87
#B47DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B47DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47DFE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47DFE#FFFFFF#000000##000000
##B47DFE1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#A695B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b47dfe;
/* rgb */ color: rgb(180, 125, 254);
/* oklch */ color: oklch(70.0% 0.187 301.4);
Tailwind
colors: {
  custom: {
    50: '#cea4ff',
    500: '#b47dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b47dfe;
$custom-light: #cea4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b47dfe",
  "rgb": {
    "r": 180,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 265.581,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69993,
    "c": 0.187,
    "h": 301.4
  },
  "luminance": 0.31526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B47DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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