#B954C8#B954C8

#B954C8 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.7% C 0.193 H 322.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B954C8
RGBrgb(185, 84, 200)
HSLhsl(292, 51%, 56%)
HSVhsv(292, 58%, 78%)
CMYKcmyk(7.5%, 58%, 0%, 21.6%)
CIE-LABlab(52.76, 57.17, -42.53)
CIE-LCHlch(52.76, 71.25, 323.36°)
OKLaboklab(61.7% 0.1528 -0.118)
OKLCHoklch(61.7% 0.193 322.3)
XYZxyz(33.6021, 20.8267, 56.8824)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954C8 #63C854
analogous
#7F54C8 #B954C8 #C8549D
triadic
#B954C8 #C8B954 #54C8B9
tetradic
#B954C8 #C87F54 #63C854 #549DC8
square
#B954C8 #C87F54 #63C854 #549DC8
split-complementary
#B954C8 #9DC854 #54C87F
monochromatic
#70277A #9A36A9 #B954C8 #CC82D7 #DFB1E6

Accessibility & contrast

On white

4.07
#B954C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B954C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954C8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954C8#FFFFFF#000000##000000
##B954C81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CC
Deuteranopia (green-blind)
#6282C5
Tritanopia (blue-blind)
#BB6586
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b954c8;
/* rgb */ color: rgb(185, 84, 200);
/* oklch */ color: oklch(61.7% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#d189d9',
    500: '#b954c8',
    950: '#000000',
  },
}
SCSS
$custom: #b954c8;
$custom-light: #d189d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b954c8",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 292.241,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61698,
    "c": 0.1931,
    "h": 322.3
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#B954C8
secondary
#AAD4A4
accent
#DB4D5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #B954C8

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

Preview Lab → · Contrast checker → · Palette generator →

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