#B954C6#B954C6

#B954C6 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.6% C 0.191 H 323.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B954C6
RGBrgb(185, 84, 198)
HSLhsl(293, 50%, 55%)
HSVhsv(293, 58%, 78%)
CMYKcmyk(6.6%, 57.6%, 0%, 22.4%)
CIE-LABlab(52.66, 56.79, -41.54)
CIE-LCHlch(52.66, 70.37, 323.82°)
OKLaboklab(61.59% 0.1527 -0.1152)
OKLCHoklch(61.59% 0.191 323)
XYZxyz(33.3699, 20.7339, 55.6595)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954C6 #61C654
analogous
#8054C6 #B954C6 #C6549A
triadic
#B954C6 #C6B954 #54C6B9
tetradic
#B954C6 #C68054 #61C654 #549AC6
square
#B954C6 #C68054 #61C654 #549AC6
split-complementary
#B954C6 #9AC654 #54C680
monochromatic
#6F2878 #9937A6 #B954C6 #CC82D5 #DFB0E5

Accessibility & contrast

On white

4.08
#B954C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B954C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954C6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954C6#FFFFFF#000000##000000
##B954C61.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4076CA
Deuteranopia (green-blind)
#6382C3
Tritanopia (blue-blind)
#BC6485
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b954c6;
/* rgb */ color: rgb(185, 84, 198);
/* oklch */ color: oklch(61.6% 0.191 323.0);
Tailwind
colors: {
  custom: {
    50: '#d189d8',
    500: '#b954c6',
    950: '#000000',
  },
}
SCSS
$custom: #b954c6;
$custom-light: #d189d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b954c6",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 198
  },
  "hsl": {
    "h": 293.158,
    "s": 50,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6159,
    "c": 0.19125,
    "h": 323
  },
  "luminance": 0.20732
}

Semantic roles & 50–950 ramp

primary
#B954C6
secondary
#A9D3A3
accent
#DA4E5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B954C6

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

Preview Lab → · Contrast checker → · Palette generator →

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