#B954C2#B954C2

#B954C2 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.188 H 324.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B954C2
RGBrgb(185, 84, 194)
HSLhsl(295, 47%, 55%)
HSVhsv(295, 57%, 76%)
CMYKcmyk(4.6%, 56.7%, 0%, 23.9%)
CIE-LABlab(52.46, 56.05, -39.56)
CIE-LCHlch(52.46, 68.61, 324.79°)
OKLaboklab(61.38% 0.1523 -0.1094)
OKLCHoklch(61.38% 0.188 324.3)
XYZxyz(32.9147, 20.5517, 53.2616)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954C2 #5DC254
analogous
#8254C2 #B954C2 #C25494
triadic
#B954C2 #C2B954 #54C2B9
tetradic
#B954C2 #C28254 #5DC254 #5494C2
square
#B954C2 #C28254 #5DC254 #5494C2
split-complementary
#B954C2 #94C254 #54C282
monochromatic
#6D2973 #9739A0 #B954C2 #CB81D2 #DEAEE2

Accessibility & contrast

On white

4.11
#B954C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B954C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954C2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954C2#FFFFFF#000000##000000
##B954C21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C5
Deuteranopia (green-blind)
#6681BF
Tritanopia (blue-blind)
#BC6383
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b954c2;
/* rgb */ color: rgb(185, 84, 194);
/* oklch */ color: oklch(61.4% 0.188 324.3);
Tailwind
colors: {
  custom: {
    50: '#d189d5',
    500: '#b954c2',
    950: '#000000',
  },
}
SCSS
$custom: #b954c2;
$custom-light: #d189d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b954c2",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 295.091,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.18757,
    "h": 324.3
  },
  "luminance": 0.2055
}

Semantic roles & 50–950 ramp

primary
#B954C2
secondary
#A5D0A2
accent
#D7515C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B954C2

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

Preview Lab → · Contrast checker → · Palette generator →

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