#B954C7#B954C7

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

Color values

HEX#B954C7
RGBrgb(185, 84, 199)
HSLhsl(293, 51%, 55%)
HSVhsv(293, 58%, 78%)
CMYKcmyk(7%, 57.8%, 0%, 22%)
CIE-LABlab(52.71, 56.98, -42.03)
CIE-LCHlch(52.71, 70.81, 323.58°)
OKLaboklab(61.64% 0.1527 -0.1166)
OKLCHoklch(61.64% 0.192 322.6)
XYZxyz(33.4857, 20.7801, 56.2689)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954C7 #62C754
analogous
#8054C7 #B954C7 #C7549B
triadic
#B954C7 #C7B954 #54C7B9
tetradic
#B954C7 #C78054 #62C754 #549BC7
square
#B954C7 #C78054 #62C754 #549BC7
split-complementary
#B954C7 #9BC754 #54C780
monochromatic
#6F2879 #9937A7 #B954C7 #CC82D6 #DFB0E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B954C7#FFFFFF#000000##000000
##B954C71.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)
#3F76CB
Deuteranopia (green-blind)
#6382C4
Tritanopia (blue-blind)
#BC6486
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b954c7;
/* rgb */ color: rgb(185, 84, 199);
/* oklch */ color: oklch(61.6% 0.192 322.6);
Tailwind
colors: {
  custom: {
    50: '#d189d8',
    500: '#b954c7',
    950: '#000000',
  },
}
SCSS
$custom: #b954c7;
$custom-light: #d189d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b954c7",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 199
  },
  "hsl": {
    "h": 292.696,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.19217,
    "h": 322.6
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#B954C7
secondary
#A9D3A3
accent
#DA4E5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B954C7

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

Preview Lab → · Contrast checker → · Palette generator →

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