#B94ECB#B94ECB

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

Color values

HEX#B94ECB
RGBrgb(185, 78, 203)
HSLhsl(291, 55%, 55%)
HSVhsv(291, 62%, 80%)
CMYKcmyk(8.9%, 61.6%, 0%, 20.4%)
CIE-LABlab(51.92, 60.45, -45.57)
CIE-LCHlch(51.92, 75.70, 322.99°)
OKLaboklab(61.14% 0.1603 -0.1269)
OKLCHoklch(61.14% 0.204 321.6)
XYZxyz(33.5103, 20.0765, 58.5984)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B94ECB #60CB4E
analogous
#7A4ECB #B94ECB #CB4E9E
triadic
#B94ECB #CBB94E #4ECBB9
tetradic
#B94ECB #CB7A4E #60CB4E #4E9ECB
square
#B94ECB #CB7A4E #60CB4E #4E9ECB
split-complementary
#B94ECB #9ECB4E #4ECB7A
monochromatic
#6E247B #9932AA #B94ECB #CC7DD9 #DEADE7

Accessibility & contrast

On white

4.19
#B94ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B94ECB#FFFFFF#000000##000000
##B94ECB1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#BB6285
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b94ecb;
/* rgb */ color: rgb(185, 78, 203);
/* oklch */ color: oklch(61.1% 0.204 321.6);
Tailwind
colors: {
  custom: {
    50: '#d186db',
    500: '#b94ecb',
    950: '#000000',
  },
}
SCSS
$custom: #b94ecb;
$custom-light: #d186db;
$custom-dark: #000000;
JSON
{
  "hex": "#b94ecb",
  "rgb": {
    "r": 185,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 291.36,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.20446,
    "h": 321.6
  },
  "luminance": 0.20075
}

Semantic roles & 50–950 ramp

primary
#B94ECB
secondary
#A8D5A0
accent
#DE4A5F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B94ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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