#B47FDB#B47FDB

#B47FDB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.5% C 0.142 H 309.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B47FDB
RGBrgb(180, 127, 219)
HSLhsl(275, 56%, 68%)
HSVhsv(275, 42%, 86%)
CMYKcmyk(17.8%, 42%, 0%, 14.1%)
CIE-LABlab(61.65, 37.46, -39.33)
CIE-LCHlch(61.65, 54.31, 313.61°)
OKLaboklab(68.46% 0.0904 -0.1092)
OKLCHoklch(68.46% 0.142 309.6)
XYZxyz(39.1956, 29.9971, 70.7293)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47FDB #A6DB7F
analogous
#867FDB #B47FDB #DB7FD4
triadic
#B47FDB #DBB47F #7FDBB4
tetradic
#B47FDB #DB867F #A6DB7F #7FD4DB
square
#B47FDB #DB867F #A6DB7F #7FD4DB
split-complementary
#B47FDB #D4DB7F #7FDB86
monochromatic
#7931AF #984FCE #B47FDB #D0AFE8 #ECDFF6

Accessibility & contrast

On white

3.00
#B47FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B47FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47FDB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47FDB#FFFFFF#000000##000000
##B47FDB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B92DE
Deuteranopia (green-blind)
#7896D8
Tritanopia (blue-blind)
#AF8DA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b47fdb;
/* rgb */ color: rgb(180, 127, 219);
/* oklch */ color: oklch(68.5% 0.142 309.6);
Tailwind
colors: {
  custom: {
    50: '#cca5e6',
    500: '#b47fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b47fdb;
$custom-light: #cca5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b47fdb",
  "rgb": {
    "r": 180,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 274.565,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6846,
    "c": 0.14173,
    "h": 309.6
  },
  "luminance": 0.29997
}

Semantic roles & 50–950 ramp

primary
#B47FDB
secondary
#D9E9CD
accent
#C42266
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B47FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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