#B954D9#B954D9

#B954D9 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.7% C 0.209 H 317.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B954D9
RGBrgb(185, 84, 217)
HSLhsl(286, 64%, 59%)
HSVhsv(286, 61%, 85%)
CMYKcmyk(14.7%, 61.3%, 0%, 14.9%)
CIE-LABlab(53.67, 60.45, -50.78)
CIE-LCHlch(53.67, 78.95, 319.97°)
OKLaboklab(62.66% 0.1535 -0.1421)
OKLCHoklch(62.66% 0.209 317.2)
XYZxyz(35.7005, 21.6661, 67.9336)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954D9 #74D954
analogous
#7754D9 #B954D9 #D954B7
triadic
#B954D9 #D9B954 #54D9B9
tetradic
#B954D9 #D97754 #74D954 #54B7D9
square
#B954D9 #D97754 #74D954 #54B7D9
split-complementary
#B954D9 #B7D954 #54D977
monochromatic
#772092 #9F2CC4 #B954D9 #CD86E4 #E2B8EF

Accessibility & contrast

On white

3.94
#B954D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B954D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954D9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954D9#FFFFFF#000000##000000
##B954D91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADD
Deuteranopia (green-blind)
#5783D6
Tritanopia (blue-blind)
#B86B8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b954d9;
/* rgb */ color: rgb(185, 84, 217);
/* oklch */ color: oklch(62.7% 0.209 317.2);
Tailwind
colors: {
  custom: {
    50: '#d18ae5',
    500: '#b954d9',
    950: '#000000',
  },
}
SCSS
$custom: #b954d9;
$custom-light: #d18ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#b954d9",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 285.564,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62656,
    "c": 0.20913,
    "h": 317.2
  },
  "luminance": 0.21665
}

Semantic roles & 50–950 ramp

primary
#B954D9
secondary
#B7DFAA
accent
#E74169
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B954D9

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

Preview Lab → · Contrast checker → · Palette generator →

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