#B94ECC#B94ECC

#B94ECC is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.2% C 0.205 H 321.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B94ECC
RGBrgb(185, 78, 204)
HSLhsl(291, 55%, 55%)
HSVhsv(291, 62%, 80%)
CMYKcmyk(9.3%, 61.8%, 0%, 20%)
CIE-LABlab(51.98, 60.64, -46.06)
CIE-LCHlch(51.98, 76.15, 322.78°)
OKLaboklab(61.2% 0.1604 -0.1283)
OKLCHoklch(61.2% 0.205 321.3)
XYZxyz(33.6298, 20.1244, 59.2280)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94ECC #61CC4E
analogous
#7A4ECC #B94ECC #CC4EA0
triadic
#B94ECC #CCB94E #4ECCB9
tetradic
#B94ECC #CC7A4E #61CC4E #4EA0CC
square
#B94ECC #CC7A4E #61CC4E #4EA0CC
split-complementary
#B94ECC #A0CC4E #4ECC7A
monochromatic
#6F247C #9931AB #B94ECC #CC7EDA #DFADE7

Accessibility & contrast

On white

4.18
#B94ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B94ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94ECC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94ECC#FFFFFF#000000##000000
##B94ECC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174D0
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#BB6286
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b94ecc;
/* rgb */ color: rgb(185, 78, 204);
/* oklch */ color: oklch(61.2% 0.205 321.3);
Tailwind
colors: {
  custom: {
    50: '#d186dc',
    500: '#b94ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b94ecc;
$custom-light: #d186dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b94ecc",
  "rgb": {
    "r": 185,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 290.952,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.20536,
    "h": 321.3
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#B94ECC
secondary
#A9D5A1
accent
#DF4960
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B94ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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