#B94DC2#B94DC2

#B94DC2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.5% C 0.198 H 324.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B94DC2
RGBrgb(185, 77, 194)
HSLhsl(295, 49%, 53%)
HSVhsv(295, 60%, 76%)
CMYKcmyk(4.6%, 60.3%, 0%, 23.9%)
CIE-LABlab(51.29, 59.23, -41.40)
CIE-LCHlch(51.29, 72.27, 325.05°)
OKLaboklab(60.53% 0.1611 -0.1147)
OKLCHoklch(60.53% 0.198 324.5)
XYZxyz(32.3983, 19.5189, 53.0895)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94DC2 #56C24D
analogous
#7F4DC2 #B94DC2 #C24D90
triadic
#B94DC2 #C2B94D #4DC2B9
tetradic
#B94DC2 #C27F4D #56C24D #4D90C2
square
#B94DC2 #C27F4D #56C24D #4D90C2
split-complementary
#B94DC2 #90C24D #4DC27F
monochromatic
#69266F #94369C #B94DC2 #CB7BD2 #DDA8E1

Accessibility & contrast

On white

4.28
#B94DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B94DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94DC2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94DC2#FFFFFF#000000##000000
##B94DC21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3972C6
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#BD5D80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b94dc2;
/* rgb */ color: rgb(185, 77, 194);
/* oklch */ color: oklch(60.5% 0.198 324.5);
Tailwind
colors: {
  custom: {
    50: '#d185d5',
    500: '#b94dc2',
    950: '#000000',
  },
}
SCSS
$custom: #b94dc2;
$custom-light: #d185d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b94dc2",
  "rgb": {
    "r": 185,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 295.385,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.1978,
    "h": 324.5
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#B94DC2
secondary
#A0CF9C
accent
#D94F5A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B94DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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