#B94EC1#B94EC1

#B94EC1 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.6% C 0.196 H 324.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B94EC1
RGBrgb(185, 78, 193)
HSLhsl(296, 48%, 53%)
HSVhsv(296, 60%, 76%)
CMYKcmyk(4.1%, 59.6%, 0%, 24.3%)
CIE-LABlab(51.40, 58.61, -40.65)
CIE-LCHlch(51.40, 71.33, 325.26°)
OKLaboklab(60.59% 0.1598 -0.1126)
OKLCHoklch(60.59% 0.196 324.8)
XYZxyz(32.3568, 19.6152, 52.5235)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94EC1 #56C14E
analogous
#7F4EC1 #B94EC1 #C14E8F
triadic
#B94EC1 #C1B94E #4EC1B9
tetradic
#B94EC1 #C17F4E #56C14E #4E8FC1
square
#B94EC1 #C17F4E #56C14E #4E8FC1
split-complementary
#B94EC1 #8FC14E #4EC17F
monochromatic
#69276E #94369B #B94EC1 #CB7BD1 #DDA9E1

Accessibility & contrast

On white

4.27
#B94EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B94EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94EC1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94EC1#FFFFFF#000000##000000
##B94EC11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C72C5
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#BD5E80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b94ec1;
/* rgb */ color: rgb(185, 78, 193);
/* oklch */ color: oklch(60.6% 0.196 324.8);
Tailwind
colors: {
  custom: {
    50: '#d186d4',
    500: '#b94ec1',
    950: '#000000',
  },
}
SCSS
$custom: #b94ec1;
$custom-light: #d186d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b94ec1",
  "rgb": {
    "r": 185,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 295.826,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6059,
    "c": 0.1955,
    "h": 324.8
  },
  "luminance": 0.19613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B94EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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