#B94ECA#B94ECA

#B94ECA is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.1% C 0.204 H 322.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B94ECA
RGBrgb(185, 78, 202)
HSLhsl(292, 54%, 55%)
HSVhsv(292, 61%, 79%)
CMYKcmyk(8.4%, 61.4%, 0%, 20.8%)
CIE-LABlab(51.87, 60.26, -45.08)
CIE-LCHlch(51.87, 75.26, 323.20°)
OKLaboklab(61.09% 0.1603 -0.1254)
OKLCHoklch(61.09% 0.204 322)
XYZxyz(33.3915, 20.0290, 57.9728)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94ECA #5FCA4E
analogous
#7B4ECA #B94ECA #CA4E9D
triadic
#B94ECA #CAB94E #4ECAB9
tetradic
#B94ECA #CA7B4E #5FCA4E #4E9DCA
square
#B94ECA #CA7B4E #5FCA4E #4E9DCA
split-complementary
#B94ECA #9DCA4E #4ECA7B
monochromatic
#6E2479 #9832A8 #B94ECA #CC7DD8 #DEACE6

Accessibility & contrast

On white

4.20
#B94ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B94ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B94ECA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B94ECA#FFFFFF#000000##000000
##B94ECA1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CE
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#BB6185
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b94eca;
/* rgb */ color: rgb(185, 78, 202);
/* oklch */ color: oklch(61.1% 0.204 322.0);
Tailwind
colors: {
  custom: {
    50: '#d186da',
    500: '#b94eca',
    950: '#000000',
  },
}
SCSS
$custom: #b94eca;
$custom-light: #d186da;
$custom-dark: #000000;
JSON
{
  "hex": "#b94eca",
  "rgb": {
    "r": 185,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 291.774,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.20355,
    "h": 322
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#B94ECA
secondary
#A7D4A0
accent
#DD4B5F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B94ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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