#B94CD5#B94CD5

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

Color values

HEX#B94CD5
RGBrgb(185, 76, 213)
HSLhsl(288, 62%, 57%)
HSVhsv(288, 64%, 84%)
CMYKcmyk(13.1%, 64.3%, 0%, 16.5%)
CIE-LABlab(52.16, 63.21, -50.91)
CIE-LCHlch(52.16, 81.16, 321.15°)
OKLaboklab(61.49% 0.1628 -0.1424)
OKLCHoklch(61.49% 0.216 318.8)
XYZxyz(34.6007, 20.2888, 65.0314)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94CD5 #68D54C
analogous
#754CD5 #B94CD5 #D54CAD
triadic
#B94CD5 #D5B94C #4CD5B9
tetradic
#B94CD5 #D5754C #68D54C #4CADD5
square
#B94CD5 #D5754C #68D54C #4CADD5
split-complementary
#B94CD5 #ADD54C #4CD575
monochromatic
#722087 #9C2BB9 #B94CD5 #CC7EE1 #E0AFEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B94CD5#FFFFFF#000000##000000
##B94CD51.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)
#1F75D9
Deuteranopia (green-blind)
#5480D2
Tritanopia (blue-blind)
#B9648A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b94cd5;
/* rgb */ color: rgb(185, 76, 213);
/* oklch */ color: oklch(61.5% 0.216 318.8);
Tailwind
colors: {
  custom: {
    50: '#d185e2',
    500: '#b94cd5',
    950: '#000000',
  },
}
SCSS
$custom: #b94cd5;
$custom-light: #d185e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b94cd5",
  "rgb": {
    "r": 185,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 287.737,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61492,
    "c": 0.21627,
    "h": 318.8
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#B94CD5
secondary
#AEDAA2
accent
#E54364
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B94CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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