#B954DB#B954DB

#B954DB is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.8% C 0.211 H 316.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B954DB
RGBrgb(185, 84, 219)
HSLhsl(285, 65%, 59%)
HSVhsv(285, 62%, 86%)
CMYKcmyk(15.5%, 61.6%, 0%, 14.1%)
CIE-LABlab(53.78, 60.85, -51.73)
CIE-LCHlch(53.78, 79.87, 319.63°)
OKLaboklab(62.77% 0.1535 -0.1449)
OKLCHoklch(62.77% 0.211 316.7)
XYZxyz(35.9622, 21.7708, 69.3119)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954DB #76DB54
analogous
#7654DB #B954DB #DB54B9
triadic
#B954DB #DBB954 #54DBB9
tetradic
#B954DB #DB7654 #76DB54 #54B9DB
square
#B954DB #DB7654 #76DB54 #54B9DB
split-complementary
#B954DB #B9DB54 #54DB76
monochromatic
#781F95 #A02AC8 #B954DB #CE87E6 #E2B9F0

Accessibility & contrast

On white

3.92
#B954DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B954DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954DB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954DB#FFFFFF#000000##000000
##B954DB1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#5684D8
Tritanopia (blue-blind)
#B76C90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b954db;
/* rgb */ color: rgb(185, 84, 219);
/* oklch */ color: oklch(62.8% 0.211 316.7);
Tailwind
colors: {
  custom: {
    50: '#d18ae7',
    500: '#b954db',
    950: '#000000',
  },
}
SCSS
$custom: #b954db;
$custom-light: #d18ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b954db",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 284.889,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62773,
    "c": 0.21104,
    "h": 316.7
  },
  "luminance": 0.21769
}

Semantic roles & 50–950 ramp

primary
#B954DB
secondary
#B8E0AB
accent
#E8406A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B954DB

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

Preview Lab → · Contrast checker → · Palette generator →

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