#EC8BE3#EC8BE3

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

Color values

HEX#EC8BE3
RGBrgb(236, 139, 227)
HSLhsl(306, 72%, 74%)
HSVhsv(306, 41%, 93%)
CMYKcmyk(0%, 41.1%, 3.8%, 7.5%)
CIE-LABlab(70.77, 49.35, -29.13)
CIE-LCHlch(70.77, 57.30, 329.45°)
OKLaboklab(76.79% 0.1393 -0.0791)
OKLCHoklch(76.79% 0.16 330.4)
XYZxyz(57.6891, 41.8471, 77.6968)
Luminance0.4184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BE3 #8BEC94
analogous
#C48BEC #EC8BE3 #EC8BB2
triadic
#EC8BE3 #E3EC8B #8BE3EC
tetradic
#EC8BE3 #ECC48B #8BEC94 #8BB2EC
square
#EC8BE3 #ECC48B #8BEC94 #8BB2EC
split-complementary
#EC8BE3 #B2EC8B #8BECC4
monochromatic
#D924C8 #E356D6 #EC8BE3 #F5C0F0 #FBE5F9

Accessibility & contrast

On white

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

On black

9.37
#EC8BE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BE3
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BE3#FFFFFF#000000##000000
##EC8BE31.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A5E6
Deuteranopia (green-blind)
#A1B2E0
Tritanopia (blue-blind)
#F392AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec8be3;
/* rgb */ color: rgb(236, 139, 227);
/* oklch */ color: oklch(76.8% 0.160 330.4);
Tailwind
colors: {
  custom: {
    50: '#f4afec',
    500: '#ec8be3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8be3;
$custom-light: #f4afec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8be3",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 227
  },
  "hsl": {
    "h": 305.567,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76793,
    "c": 0.1602,
    "h": 330.4
  },
  "luminance": 0.41844
}

Semantic roles & 50–950 ramp

primary
#EC8BE3
secondary
#D9F2DB
accent
#D42412
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171116
muted
#858084

Preview Lab

Preview with #EC8BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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