#B94DD2#B94DD2

#B94DD2 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.212 H 319.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B94DD2
RGBrgb(185, 77, 210)
HSLhsl(289, 60%, 56%)
HSVhsv(289, 63%, 82%)
CMYKcmyk(11.9%, 63.3%, 0%, 17.6%)
CIE-LABlab(52.15, 62.21, -49.22)
CIE-LCHlch(52.15, 79.32, 321.65°)
OKLaboklab(61.43% 0.1616 -0.1375)
OKLCHoklch(61.43% 0.212 319.6)
XYZxyz(34.2928, 20.2768, 63.0677)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94DD2 #66D24D
analogous
#774DD2 #B94DD2 #D24DA9
triadic
#B94DD2 #D2B94D #4DD2B9
tetradic
#B94DD2 #D2774D #66D24D #4DA9D2
square
#B94DD2 #D2774D #66D24D #4DA9D2
split-complementary
#B94DD2 #A9D24D #4DD277
monochromatic
#712183 #9B2EB4 #B94DD2 #CC7EDE #DFAFEB

Accessibility & contrast

On white

4.15
#B94DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B94DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94DD2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94DD2#FFFFFF#000000##000000
##B94DD21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2775D6
Deuteranopia (green-blind)
#5780CF
Tritanopia (blue-blind)
#BA6489
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b94dd2;
/* rgb */ color: rgb(185, 77, 210);
/* oklch */ color: oklch(61.4% 0.212 319.6);
Tailwind
colors: {
  custom: {
    50: '#d186e0',
    500: '#b94dd2',
    950: '#000000',
  },
}
SCSS
$custom: #b94dd2;
$custom-light: #d186e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b94dd2",
  "rgb": {
    "r": 185,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 288.722,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61428,
    "c": 0.2122,
    "h": 319.6
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#B94DD2
secondary
#ACD9A2
accent
#E34563
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B94DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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