#B954CD#B954CD

#B954CD is a mid, vivid purple. Relative luminance 0.211; OKLCH L 62.0% C 0.198 H 320.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B954CD
RGBrgb(185, 84, 205)
HSLhsl(290, 55%, 57%)
HSVhsv(290, 59%, 80%)
CMYKcmyk(9.8%, 59%, 0%, 19.6%)
CIE-LABlab(53.02, 58.12, -44.98)
CIE-LCHlch(53.02, 73.49, 322.26°)
OKLaboklab(61.97% 0.1531 -0.1252)
OKLCHoklch(61.97% 0.198 320.7)
XYZxyz(34.1961, 21.0643, 60.0103)
Luminance0.2106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954CD #68CD54
analogous
#7D54CD #B954CD #CD54A4
triadic
#B954CD #CDB954 #54CDB9
tetradic
#B954CD #CD7D54 #68CD54 #54A4CD
square
#B954CD #CD7D54 #68CD54 #54A4CD
split-complementary
#B954CD #A4CD54 #54CD7D
monochromatic
#722681 #9C34B0 #B954CD #CC83DB #E0B3E9

Accessibility & contrast

On white

4.03
#B954CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B954CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954CD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954CD#FFFFFF#000000##000000
##B954CD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D1
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#BA6789
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b954cd;
/* rgb */ color: rgb(185, 84, 205);
/* oklch */ color: oklch(62.0% 0.198 320.7);
Tailwind
colors: {
  custom: {
    50: '#d18add',
    500: '#b954cd',
    950: '#000000',
  },
}
SCSS
$custom: #b954cd;
$custom-light: #d18add;
$custom-dark: #000000;
JSON
{
  "hex": "#b954cd",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 290.083,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61972,
    "c": 0.19776,
    "h": 320.7
  },
  "luminance": 0.21063
}

Semantic roles & 50–950 ramp

primary
#B954CD
secondary
#AED7A6
accent
#DE4A62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B954CD

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

Preview Lab → · Contrast checker → · Palette generator →

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