#B94EC2#B94EC2

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

Color values

HEX#B94EC2
RGBrgb(185, 78, 194)
HSLhsl(295, 49%, 53%)
HSVhsv(295, 60%, 76%)
CMYKcmyk(4.6%, 59.8%, 0%, 23.9%)
CIE-LABlab(51.45, 58.79, -41.14)
CIE-LCHlch(51.45, 71.76, 325.01°)
OKLaboklab(60.64% 0.1599 -0.114)
OKLCHoklch(60.64% 0.196 324.5)
XYZxyz(32.4688, 19.6599, 53.1130)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94EC2 #57C24E
analogous
#7F4EC2 #B94EC2 #C24E91
triadic
#B94EC2 #C2B94E #4EC2B9
tetradic
#B94EC2 #C27F4E #57C24E #4E91C2
square
#B94EC2 #C27F4E #57C24E #4E91C2
split-complementary
#B94EC2 #91C24E #4EC27F
monochromatic
#6A266F #95369D #B94EC2 #CB7CD2 #DDA9E1

Accessibility & contrast

On white

4.26
#B94EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B94EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94EC2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94EC2#FFFFFF#000000##000000
##B94EC21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C6
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#BD5E81
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b94ec2;
/* rgb */ color: rgb(185, 78, 194);
/* oklch */ color: oklch(60.6% 0.196 324.5);
Tailwind
colors: {
  custom: {
    50: '#d186d5',
    500: '#b94ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b94ec2;
$custom-light: #d186d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b94ec2",
  "rgb": {
    "r": 185,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 295.345,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.19639,
    "h": 324.5
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B94EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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