#B954CC#B954CC

#B954CC is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.9% C 0.197 H 321.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B954CC
RGBrgb(185, 84, 204)
HSLhsl(291, 54%, 56%)
HSVhsv(291, 59%, 80%)
CMYKcmyk(9.3%, 58.8%, 0%, 20%)
CIE-LABlab(52.97, 57.93, -44.49)
CIE-LCHlch(52.97, 73.04, 322.47°)
OKLaboklab(61.92% 0.1531 -0.1237)
OKLCHoklch(61.92% 0.197 321)
XYZxyz(34.0757, 21.0162, 59.3766)
Luminance0.2102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954CC #67CC54
analogous
#7D54CC #B954CC #CC54A3
triadic
#B954CC #CCB954 #54CCB9
tetradic
#B954CC #CC7D54 #67CC54 #54A3CC
square
#B954CC #CC7D54 #67CC54 #54A3CC
split-complementary
#B954CC #A3CC54 #54CC7D
monochromatic
#712680 #9B34AF #B954CC #CC83DA #E0B2E8

Accessibility & contrast

On white

4.04
#B954CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B954CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954CC#FFFFFF#000000##000000
##B954CC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77D0
Deuteranopia (green-blind)
#6082C9
Tritanopia (blue-blind)
#BB6688
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b954cc;
/* rgb */ color: rgb(185, 84, 204);
/* oklch */ color: oklch(61.9% 0.197 321.0);
Tailwind
colors: {
  custom: {
    50: '#d18adc',
    500: '#b954cc',
    950: '#000000',
  },
}
SCSS
$custom: #b954cc;
$custom-light: #d18adc;
$custom-dark: #000000;
JSON
{
  "hex": "#b954cc",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 290.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.19682,
    "h": 321
  },
  "luminance": 0.21015
}

Semantic roles & 50–950 ramp

primary
#B954CC
secondary
#ADD7A5
accent
#DD4A62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B954CC

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

Preview Lab → · Contrast checker → · Palette generator →

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