#B94EC0#B94EC0

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

Color values

HEX#B94EC0
RGBrgb(185, 78, 192)
HSLhsl(296, 48%, 53%)
HSVhsv(296, 59%, 75%)
CMYKcmyk(3.6%, 59.4%, 0%, 24.7%)
CIE-LABlab(51.35, 58.43, -40.15)
CIE-LCHlch(51.35, 70.89, 325.50°)
OKLaboklab(60.54% 0.1598 -0.1111)
OKLCHoklch(60.54% 0.195 325.2)
XYZxyz(32.2457, 19.5707, 51.9380)
Luminance0.1957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94EC0 #55C04E
analogous
#804EC0 #B94EC0 #C04E8E
triadic
#B94EC0 #C0B94E #4EC0B9
tetradic
#B94EC0 #C0804E #55C04E #4E8EC0
square
#B94EC0 #C0804E #55C04E #4E8EC0
split-complementary
#B94EC0 #8EC04E #4EC080
monochromatic
#69276D #94379A #B94EC0 #CB7BD0 #DDA8E0

Accessibility & contrast

On white

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

On black

4.91
#B94EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94EC0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94EC0#FFFFFF#000000##000000
##B94EC01.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D72C4
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#BD5D80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b94ec0;
/* rgb */ color: rgb(185, 78, 192);
/* oklch */ color: oklch(60.5% 0.195 325.2);
Tailwind
colors: {
  custom: {
    50: '#d186d3',
    500: '#b94ec0',
    950: '#000000',
  },
}
SCSS
$custom: #b94ec0;
$custom-light: #d186d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b94ec0",
  "rgb": {
    "r": 185,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 296.316,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.19461,
    "h": 325.2
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#B94EC0
secondary
#9FCE9C
accent
#D75159
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B94EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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