#B954D6#B954D6

#B954D6 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.5% C 0.206 H 318.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B954D6
RGBrgb(185, 84, 214)
HSLhsl(287, 61%, 58%)
HSVhsv(287, 61%, 84%)
CMYKcmyk(13.6%, 60.7%, 0%, 16.1%)
CIE-LABlab(53.50, 59.86, -49.34)
CIE-LCHlch(53.50, 77.57, 320.50°)
OKLaboklab(62.48% 0.1534 -0.1379)
OKLCHoklch(62.48% 0.206 318.1)
XYZxyz(35.3138, 21.5114, 65.8972)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954D6 #71D654
analogous
#7854D6 #B954D6 #D654B2
triadic
#B954D6 #D6B954 #54D6B9
tetradic
#B954D6 #D67854 #71D654 #54B2D6
square
#B954D6 #D67854 #71D654 #54B2D6
split-complementary
#B954D6 #B2D654 #54D678
monochromatic
#76228E #9F2EBF #B954D6 #CD85E2 #E1B7EE

Accessibility & contrast

On white

3.96
#B954D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B954D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954D6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954D6#FFFFFF#000000##000000
##B954D61.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3079DA
Deuteranopia (green-blind)
#5A83D3
Tritanopia (blue-blind)
#B86A8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b954d6;
/* rgb */ color: rgb(185, 84, 214);
/* oklch */ color: oklch(62.5% 0.206 318.1);
Tailwind
colors: {
  custom: {
    50: '#d18ae3',
    500: '#b954d6',
    950: '#000000',
  },
}
SCSS
$custom: #b954d6;
$custom-light: #d18ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#b954d6",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 286.615,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62482,
    "c": 0.20627,
    "h": 318.1
  },
  "luminance": 0.2151
}

Semantic roles & 50–950 ramp

primary
#B954D6
secondary
#B5DDA9
accent
#E44367
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B954D6

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

Preview Lab → · Contrast checker → · Palette generator →

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