#EC8DF3#EC8DF3

#EC8DF3 is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.8% C 0.172 H 324.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#EC8DF3
RGBrgb(236, 141, 243)
HSLhsl(296, 81%, 75%)
HSVhsv(296, 42%, 95%)
CMYKcmyk(2.9%, 42%, 0%, 4.7%)
CIE-LABlab(71.80, 51.18, -36.30)
CIE-LCHlch(71.80, 62.75, 324.65°)
OKLaboklab(77.77% 0.1398 -0.0995)
OKLCHoklch(77.77% 0.172 324.6)
XYZxyz(60.2931, 43.3563, 89.9693)
Luminance0.4335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DF3 #94F38D
analogous
#B98DF3 #EC8DF3 #F38DC7
triadic
#EC8DF3 #F3EC8D #8DF3EC
tetradic
#EC8DF3 #F3B98D #94F38D #8DC7F3
square
#EC8DF3 #F3B98D #94F38D #8DC7F3
split-complementary
#EC8DF3 #C7F38D #8DF3B9
monochromatic
#DA1EE7 #E356ED #EC8DF3 #F5C4F9 #FAE3FC

Accessibility & contrast

On white

2.17
#EC8DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#EC8DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DF3
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DF3#FFFFFF#000000##000000
##EC8DF31.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A9F7
Deuteranopia (green-blind)
#9CB4F0
Tritanopia (blue-blind)
#F098B5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8df3;
/* rgb */ color: rgb(236, 141, 243);
/* oklch */ color: oklch(77.8% 0.172 324.6);
Tailwind
colors: {
  custom: {
    50: '#f4b0f7',
    500: '#ec8df3',
    950: '#000000',
  },
}
SCSS
$custom: #ec8df3;
$custom-light: #f4b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8df3",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 295.882,
    "s": 80.952,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77772,
    "c": 0.17159,
    "h": 324.6
  },
  "luminance": 0.43354
}

Semantic roles & 50–950 ramp

primary
#EC8DF3
secondary
#D9F4D7
accent
#DD0817
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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