#B47DFA#B47DFA

#B47DFA is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.182 H 302.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B47DFA
RGBrgb(180, 125, 250)
HSLhsl(266, 93%, 74%)
HSVhsv(266, 50%, 98%)
CMYKcmyk(28%, 50%, 0%, 2%)
CIE-LABlab(62.74, 45.66, -54.80)
CIE-LCHlch(62.74, 71.33, 309.80°)
OKLaboklab(69.77% 0.0972 -0.1541)
OKLCHoklch(69.77% 0.182 302.2)
XYZxyz(43.4074, 31.2726, 94.1733)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47DFA #C3FA7D
analogous
#7D84FA #B47DFA #F37DFA
triadic
#B47DFA #FAB47D #7DFAB4
tetradic
#B47DFA #FA7D84 #C3FA7D #7DFAF3
square
#B47DFA #FA7D84 #C3FA7D #7DFAF3
split-complementary
#B47DFA #FAF37D #84FA7D
monochromatic
#7009F3 #9242F8 #B47DFA #D6B8FC #EEE2FE

Accessibility & contrast

On white

2.89
#B47DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B47DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47DFA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47DFA#FFFFFF#000000##000000
##B47DFA1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FE
Deuteranopia (green-blind)
#6497F7
Tritanopia (blue-blind)
#A794B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b47dfa;
/* rgb */ color: rgb(180, 125, 250);
/* oklch */ color: oklch(69.8% 0.182 302.2);
Tailwind
colors: {
  custom: {
    50: '#cda4fc',
    500: '#b47dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b47dfa;
$custom-light: #cda4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b47dfa",
  "rgb": {
    "r": 180,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 266.4,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.18222,
    "h": 302.2
  },
  "luminance": 0.31273
}

Semantic roles & 50–950 ramp

primary
#B47DFA
secondary
#E7F6D5
accent
#E60081
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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