#B954CA#B954CA

#B954CA is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.195 H 321.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B954CA
RGBrgb(185, 84, 202)
HSLhsl(291, 53%, 56%)
HSVhsv(291, 58%, 79%)
CMYKcmyk(8.4%, 58.4%, 0%, 20.8%)
CIE-LABlab(52.86, 57.55, -43.51)
CIE-LCHlch(52.86, 72.14, 322.91°)
OKLaboklab(61.81% 0.1529 -0.1209)
OKLCHoklch(61.81% 0.195 321.7)
XYZxyz(33.8374, 20.9208, 58.1214)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954CA #65CA54
analogous
#7E54CA #B954CA #CA54A0
triadic
#B954CA #CAB954 #54CAB9
tetradic
#B954CA #CA7E54 #65CA54 #54A0CA
square
#B954CA #CA7E54 #65CA54 #54A0CA
split-complementary
#B954CA #A0CA54 #54CA7E
monochromatic
#70277D #9B35AC #B954CA #CC83D8 #DFB1E7

Accessibility & contrast

On white

4.05
#B954CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B954CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954CA#FFFFFF#000000##000000
##B954CA1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CE
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#BB6687
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b954ca;
/* rgb */ color: rgb(185, 84, 202);
/* oklch */ color: oklch(61.8% 0.195 321.7);
Tailwind
colors: {
  custom: {
    50: '#d189da',
    500: '#b954ca',
    950: '#000000',
  },
}
SCSS
$custom: #b954ca;
$custom-light: #d189da;
$custom-dark: #000000;
JSON
{
  "hex": "#b954ca",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 291.356,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61807,
    "c": 0.19496,
    "h": 321.7
  },
  "luminance": 0.20919
}

Semantic roles & 50–950 ramp

primary
#B954CA
secondary
#ACD5A5
accent
#DC4C61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B954CA

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

Preview Lab → · Contrast checker → · Palette generator →

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