#B94DD4#B94DD4

#B94DD4 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.5% C 0.214 H 319.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B94DD4
RGBrgb(185, 77, 212)
HSLhsl(288, 61%, 57%)
HSVhsv(288, 64%, 83%)
CMYKcmyk(12.7%, 63.7%, 0%, 16.9%)
CIE-LABlab(52.26, 62.59, -50.18)
CIE-LCHlch(52.26, 80.22, 321.28°)
OKLaboklab(61.55% 0.1616 -0.1403)
OKLCHoklch(61.55% 0.214 319)
XYZxyz(34.5436, 20.3770, 64.3882)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94DD4 #68D44D
analogous
#764DD4 #B94DD4 #D44DAC
triadic
#B94DD4 #D4B94D #4DD4B9
tetradic
#B94DD4 #D4764D #68D44D #4DACD4
square
#B94DD4 #D4764D #68D44D #4DACD4
split-complementary
#B94DD4 #ACD44D #4DD476
monochromatic
#722086 #9C2CB7 #B94DD4 #CC7EE0 #E0B0EC

Accessibility & contrast

On white

4.14
#B94DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B94DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94DD4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94DD4#FFFFFF#000000##000000
##B94DD41.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2375D8
Deuteranopia (green-blind)
#5680D1
Tritanopia (blue-blind)
#B9648A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b94dd4;
/* rgb */ color: rgb(185, 77, 212);
/* oklch */ color: oklch(61.5% 0.214 319.0);
Tailwind
colors: {
  custom: {
    50: '#d186e2',
    500: '#b94dd4',
    950: '#000000',
  },
}
SCSS
$custom: #b94dd4;
$custom-light: #d186e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b94dd4",
  "rgb": {
    "r": 185,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 288,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61545,
    "c": 0.21403,
    "h": 319
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#B94DD4
secondary
#AEDAA3
accent
#E44464
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B94DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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