#EC8BEF#EC8BEF

#EC8BEF is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.3% C 0.171 H 326.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#EC8BEF
RGBrgb(236, 139, 239)
HSLhsl(298, 76%, 74%)
HSVhsv(298, 42%, 94%)
CMYKcmyk(1.3%, 41.8%, 0%, 6.3%)
CIE-LABlab(71.24, 51.47, -34.98)
CIE-LCHlch(71.24, 62.23, 325.80°)
OKLaboklab(77.3% 0.1419 -0.0957)
OKLCHoklch(77.3% 0.171 326)
XYZxyz(59.4034, 42.5328, 86.7252)
Luminance0.4253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BEF #8EEF8B
analogous
#BA8BEF #EC8BEF #EF8BC0
triadic
#EC8BEF #EFEC8B #8BEFEC
tetradic
#EC8BEF #EFBA8B #8EEF8B #8BC0EF
square
#EC8BEF #EFBA8B #8EEF8B #8BC0EF
split-complementary
#EC8BEF #C0EF8B #8BEFBA
monochromatic
#DA1FE0 #E355E8 #EC8BEF #F5C1F6 #FBE4FB

Accessibility & contrast

On white

2.21
#EC8BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#EC8BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BEF
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BEF#FFFFFF#000000##000000
##EC8BEF1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F3
Deuteranopia (green-blind)
#9CB3EC
Tritanopia (blue-blind)
#F195B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec8bef;
/* rgb */ color: rgb(236, 139, 239);
/* oklch */ color: oklch(77.3% 0.171 326.0);
Tailwind
colors: {
  custom: {
    50: '#f4aff4',
    500: '#ec8bef',
    950: '#000000',
  },
}
SCSS
$custom: #ec8bef;
$custom-light: #f4aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8bef",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 298.2,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77301,
    "c": 0.17112,
    "h": 326
  },
  "luminance": 0.4253
}

Semantic roles & 50–950 ramp

primary
#EC8BEF
secondary
#D9F3D8
accent
#D80E14
background
#FFFAFE
surface
#FEF5FD
border
#D6CFD5
text
#171117
muted
#858085

Preview Lab

Preview with #EC8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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