#EC8CF2#EC8CF2

#EC8CF2 is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.6% C 0.172 H 324.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#EC8CF2
RGBrgb(236, 140, 242)
HSLhsl(296, 80%, 75%)
HSVhsv(296, 42%, 95%)
CMYKcmyk(2.5%, 42.1%, 0%, 5.1%)
CIE-LABlab(71.56, 51.51, -36.13)
CIE-LCHlch(71.56, 62.92, 324.95°)
OKLaboklab(77.58% 0.141 -0.099)
OKLCHoklch(77.58% 0.172 324.9)
XYZxyz(59.9957, 43.0025, 89.1272)
Luminance0.4300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CF2 #92F28C
analogous
#B98CF2 #EC8CF2 #F28CC5
triadic
#EC8CF2 #F2EC8C #8CF2EC
tetradic
#EC8CF2 #F2B98C #92F28C #8CC5F2
square
#EC8CF2 #F2B98C #92F28C #8CC5F2
split-complementary
#EC8CF2 #C5F28C #8CF2B9
monochromatic
#DA1EE6 #E355EC #EC8CF2 #F5C3F8 #FAE4FC

Accessibility & contrast

On white

2.19
#EC8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#EC8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CF2
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CF2#FFFFFF#000000##000000
##EC8CF21.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#9CB3EF
Tritanopia (blue-blind)
#F097B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8cf2;
/* rgb */ color: rgb(236, 140, 242);
/* oklch */ color: oklch(77.6% 0.172 324.9);
Tailwind
colors: {
  custom: {
    50: '#f4b0f6',
    500: '#ec8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cf2;
$custom-light: #f4b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cf2",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 296.471,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7758,
    "c": 0.1723,
    "h": 324.9
  },
  "luminance": 0.43
}

Semantic roles & 50–950 ramp

primary
#EC8CF2
secondary
#D9F4D7
accent
#DC0A16
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EC8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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