#B94DC8#B94DC8

#B94DC8 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.9% C 0.203 H 322.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B94DC8
RGBrgb(185, 77, 200)
HSLhsl(293, 53%, 54%)
HSVhsv(293, 62%, 78%)
CMYKcmyk(7.5%, 61.5%, 0%, 21.6%)
CIE-LABlab(51.60, 60.33, -44.36)
CIE-LCHlch(51.60, 74.88, 323.68°)
OKLaboklab(60.86% 0.1614 -0.1233)
OKLCHoklch(60.86% 0.203 322.6)
XYZxyz(33.0857, 19.7939, 56.7103)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94DC8 #5CC84D
analogous
#7C4DC8 #B94DC8 #C84D9A
triadic
#B94DC8 #C8B94D #4DC8B9
tetradic
#B94DC8 #C87C4D #5CC84D #4D9AC8
square
#B94DC8 #C87C4D #5CC84D #4D9AC8
split-complementary
#B94DC8 #9AC84D #4DC87C
monochromatic
#6C2476 #9733A5 #B94DC8 #CB7CD6 #DEABE5

Accessibility & contrast

On white

4.24
#B94DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B94DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94DC8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94DC8#FFFFFF#000000##000000
##B94DC81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#BC6084
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b94dc8;
/* rgb */ color: rgb(185, 77, 200);
/* oklch */ color: oklch(60.9% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#d185d9',
    500: '#b94dc8',
    950: '#000000',
  },
}
SCSS
$custom: #b94dc8;
$custom-light: #d185d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b94dc8",
  "rgb": {
    "r": 185,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 292.683,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60857,
    "c": 0.20314,
    "h": 322.6
  },
  "luminance": 0.19792
}

Semantic roles & 50–950 ramp

primary
#B94DC8
secondary
#A5D29E
accent
#DC4C5D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #B94DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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