#B94FC2#B94FC2

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

Color values

HEX#B94FC2
RGBrgb(185, 79, 194)
HSLhsl(295, 49%, 54%)
HSVhsv(295, 59%, 76%)
CMYKcmyk(4.6%, 59.3%, 0%, 23.9%)
CIE-LABlab(51.61, 58.34, -40.89)
CIE-LCHlch(51.61, 71.24, 324.98°)
OKLaboklab(60.76% 0.1587 -0.1133)
OKLCHoklch(60.76% 0.195 324.5)
XYZxyz(32.5403, 19.8031, 53.1369)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94FC2 #58C24F
analogous
#7F4FC2 #B94FC2 #C24F91
triadic
#B94FC2 #C2B94F #4FC2B9
tetradic
#B94FC2 #C27F4F #58C24F #4F91C2
square
#B94FC2 #C27F4F #58C24F #4F91C2
split-complementary
#B94FC2 #91C24F #4FC27F
monochromatic
#6A2770 #95379D #B94FC2 #CB7CD2 #DDAAE2

Accessibility & contrast

On white

4.23
#B94FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B94FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94FC2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94FC2#FFFFFF#000000##000000
##B94FC21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C6
Deuteranopia (green-blind)
#6280BF
Tritanopia (blue-blind)
#BD5F81
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b94fc2;
/* rgb */ color: rgb(185, 79, 194);
/* oklch */ color: oklch(60.8% 0.195 324.5);
Tailwind
colors: {
  custom: {
    50: '#d186d5',
    500: '#b94fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b94fc2;
$custom-light: #d186d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b94fc2",
  "rgb": {
    "r": 185,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 295.304,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60763,
    "c": 0.19495,
    "h": 324.5
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

primary
#B94FC2
secondary
#A2CF9E
accent
#D8505A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B94FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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