#EC8BE2#EC8BE2

#EC8BE2 is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.8% C 0.159 H 330.8°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#EC8BE2
RGBrgb(236, 139, 226)
HSLhsl(306, 72%, 74%)
HSVhsv(306, 41%, 93%)
CMYKcmyk(0%, 41.1%, 4.2%, 7.5%)
CIE-LABlab(70.73, 49.18, -28.63)
CIE-LCHlch(70.73, 56.91, 329.79°)
OKLaboklab(76.75% 0.1391 -0.0777)
OKLCHoklch(76.75% 0.159 330.8)
XYZxyz(57.5515, 41.7921, 76.9720)
Luminance0.4179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BE2 #8BEC95
analogous
#C58BEC #EC8BE2 #EC8BB1
triadic
#EC8BE2 #E2EC8B #8BE2EC
tetradic
#EC8BE2 #ECC58B #8BEC95 #8BB1EC
square
#EC8BE2 #ECC58B #8BEC95 #8BB1EC
split-complementary
#EC8BE2 #B1EC8B #8BECC5
monochromatic
#D924C6 #E356D5 #EC8BE2 #F5C0EF #FBE5F8

Accessibility & contrast

On white

2.24
#EC8BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#EC8BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BE2
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BE2#FFFFFF#000000##000000
##EC8BE21.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A5E5
Deuteranopia (green-blind)
#A1B2DF
Tritanopia (blue-blind)
#F392AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec8be2;
/* rgb */ color: rgb(236, 139, 226);
/* oklch */ color: oklch(76.8% 0.159 330.8);
Tailwind
colors: {
  custom: {
    50: '#f4afeb',
    500: '#ec8be2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8be2;
$custom-light: #f4afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8be2",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 226
  },
  "hsl": {
    "h": 306.186,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76752,
    "c": 0.15932,
    "h": 330.8
  },
  "luminance": 0.41789
}

Semantic roles & 50–950 ramp

primary
#EC8BE2
secondary
#D9F2DB
accent
#D42612
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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