#B954C3#B954C3

#B954C3 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.4% C 0.188 H 324.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B954C3
RGBrgb(185, 84, 195)
HSLhsl(295, 48%, 55%)
HSVhsv(295, 57%, 76%)
CMYKcmyk(5.1%, 56.9%, 0%, 23.5%)
CIE-LABlab(52.51, 56.24, -40.06)
CIE-LCHlch(52.51, 69.04, 324.54°)
OKLaboklab(61.43% 0.1524 -0.1109)
OKLCHoklch(61.43% 0.188 324)
XYZxyz(33.0273, 20.5968, 53.8551)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B954C3 #5EC354
analogous
#8254C3 #B954C3 #C35495
triadic
#B954C3 #C3B954 #54C3B9
tetradic
#B954C3 #C38254 #5EC354 #5495C3
square
#B954C3 #C38254 #5EC354 #5495C3
split-complementary
#B954C3 #95C354 #54C382
monochromatic
#6D2974 #9839A1 #B954C3 #CC81D3 #DEAFE3

Accessibility & contrast

On white

4.10
#B954C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B954C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B954C3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B954C3#FFFFFF#000000##000000
##B954C31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C7
Deuteranopia (green-blind)
#6582C0
Tritanopia (blue-blind)
#BC6384
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b954c3;
/* rgb */ color: rgb(185, 84, 195);
/* oklch */ color: oklch(61.4% 0.188 324.0);
Tailwind
colors: {
  custom: {
    50: '#d189d5',
    500: '#b954c3',
    950: '#000000',
  },
}
SCSS
$custom: #b954c3;
$custom-light: #d189d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b954c3",
  "rgb": {
    "r": 185,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 294.595,
    "s": 48.052,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.18849,
    "h": 324
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#B954C3
secondary
#A6D1A2
accent
#D8505C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B954C3

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

Preview Lab → · Contrast checker → · Palette generator →

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