#B94CD9#B94CD9

#B94CD9 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.7% C 0.220 H 317.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B94CD9
RGBrgb(185, 76, 217)
HSLhsl(286, 65%, 57%)
HSVhsv(286, 65%, 85%)
CMYKcmyk(14.7%, 65%, 0%, 14.9%)
CIE-LABlab(52.39, 63.98, -52.82)
CIE-LCHlch(52.39, 82.97, 320.46°)
OKLaboklab(61.73% 0.1627 -0.148)
OKLCHoklch(61.73% 0.22 317.7)
XYZxyz(35.1146, 20.4944, 67.7383)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94CD9 #6CD94C
analogous
#734CD9 #B94CD9 #D94CB3
triadic
#B94CD9 #D9B94C #4CD9B9
tetradic
#B94CD9 #D9734C #6CD94C #4CB3D9
square
#B94CD9 #D9734C #6CD94C #4CB3D9
split-complementary
#B94CD9 #B3D94C #4CD973
monochromatic
#741E8D #9D29BF #B94CD9 #CD7EE4 #E0B1EE

Accessibility & contrast

On white

4.12
#B94CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B94CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94CD9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94CD9#FFFFFF#000000##000000
##B94CD91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1676DD
Deuteranopia (green-blind)
#5180D6
Tritanopia (blue-blind)
#B8668C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b94cd9;
/* rgb */ color: rgb(185, 76, 217);
/* oklch */ color: oklch(61.7% 0.220 317.7);
Tailwind
colors: {
  custom: {
    50: '#d285e5',
    500: '#b94cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b94cd9;
$custom-light: #d285e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b94cd9",
  "rgb": {
    "r": 185,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 286.383,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61731,
    "c": 0.21993,
    "h": 317.7
  },
  "luminance": 0.20493
}

Semantic roles & 50–950 ramp

primary
#B94CD9
secondary
#B1DDA4
accent
#E84066
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B94CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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