#B954CB#B954CB

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

Color values

HEX#B954CB
RGBrgb(185, 84, 203)
HSLhsl(291, 53%, 56%)
HSVhsv(291, 59%, 80%)
CMYKcmyk(8.9%, 58.6%, 0%, 20.4%)
CIE-LABlab(52.91, 57.74, -44.00)
CIE-LCHlch(52.91, 72.59, 322.69°)
OKLaboklab(61.86% 0.153 -0.1223)
OKLCHoklch(61.86% 0.196 321.4)
XYZxyz(33.9562, 20.9684, 58.7470)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954CB #66CB54
analogous
#7E54CB #B954CB #CB54A2
triadic
#B954CB #CBB954 #54CBB9
tetradic
#B954CB #CB7E54 #66CB54 #54A2CB
square
#B954CB #CB7E54 #66CB54 #54A2CB
split-complementary
#B954CB #A2CB54 #54CB7E
monochromatic
#71267E #9B35AD #B954CB #CC83D9 #DFB2E8

Accessibility & contrast

On white

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

On black

5.19
#B954CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954CB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954CB#FFFFFF#000000##000000
##B954CB1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#6182C8
Tritanopia (blue-blind)
#BB6688
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b954cb;
/* rgb */ color: rgb(185, 84, 203);
/* oklch */ color: oklch(61.9% 0.196 321.4);
Tailwind
colors: {
  custom: {
    50: '#d189db',
    500: '#b954cb',
    950: '#000000',
  },
}
SCSS
$custom: #b954cb;
$custom-light: #d189db;
$custom-dark: #000000;
JSON
{
  "hex": "#b954cb",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 290.924,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61862,
    "c": 0.19589,
    "h": 321.4
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

primary
#B954CB
secondary
#ACD6A5
accent
#DD4B61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B954CB

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

Preview Lab → · Contrast checker → · Palette generator →

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