#B94CD4#B94CD4

#B94CD4 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.4% C 0.215 H 319.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B94CD4
RGBrgb(185, 76, 212)
HSLhsl(288, 61%, 56%)
HSVhsv(288, 64%, 83%)
CMYKcmyk(12.7%, 64.2%, 0%, 16.9%)
CIE-LABlab(52.11, 63.02, -50.43)
CIE-LCHlch(52.11, 80.71, 321.33°)
OKLaboklab(61.43% 0.1628 -0.141)
OKLCHoklch(61.43% 0.215 319.1)
XYZxyz(34.4741, 20.2382, 64.3650)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94CD4 #67D44C
analogous
#754CD4 #B94CD4 #D44CAB
triadic
#B94CD4 #D4B94C #4CD4B9
tetradic
#B94CD4 #D4754C #67D44C #4CABD4
square
#B94CD4 #D4754C #67D44C #4CABD4
split-complementary
#B94CD4 #ABD44C #4CD475
monochromatic
#712086 #9B2CB7 #B94CD4 #CC7DE0 #E0AFEC

Accessibility & contrast

On white

4.16
#B94CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B94CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94CD4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94CD4#FFFFFF#000000##000000
##B94CD41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2175D8
Deuteranopia (green-blind)
#5580D1
Tritanopia (blue-blind)
#B9648A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b94cd4;
/* rgb */ color: rgb(185, 76, 212);
/* oklch */ color: oklch(61.4% 0.215 319.1);
Tailwind
colors: {
  custom: {
    50: '#d185e2',
    500: '#b94cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b94cd4;
$custom-light: #d185e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b94cd4",
  "rgb": {
    "r": 185,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 288.088,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61433,
    "c": 0.21536,
    "h": 319.1
  },
  "luminance": 0.20237
}

Semantic roles & 50–950 ramp

primary
#B94CD4
secondary
#ADDAA2
accent
#E44363
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B94CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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