#EC90F2#EC90F2

#EC90F2 is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.2% C 0.166 H 324.8°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#EC90F2
RGBrgb(236, 144, 242)
HSLhsl(296, 79%, 76%)
HSVhsv(296, 40%, 95%)
CMYKcmyk(2.5%, 40.5%, 0%, 5.1%)
CIE-LABlab(72.36, 49.47, -34.89)
CIE-LCHlch(72.36, 60.54, 324.81°)
OKLaboklab(78.18% 0.1354 -0.0955)
OKLCHoklch(78.18% 0.166 324.8)
XYZxyz(60.5909, 44.1928, 89.3256)
Luminance0.4419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC90F2 #96F290
analogous
#BB90F2 #EC90F2 #F290C7
triadic
#EC90F2 #F2EC90 #90F2EC
tetradic
#EC90F2 #F2BB90 #96F290 #90C7F2
square
#EC90F2 #F2BB90 #96F290 #90C7F2
split-complementary
#EC90F2 #C7F290 #90F2BB
monochromatic
#D922E5 #E359EC #EC90F2 #F5C7F8 #FAE4FC

Accessibility & contrast

On white

2.13
#EC90F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#EC90F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC90F2
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC90F2#FFFFFF#000000##000000
##EC90F21.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#9FB5EF
Tritanopia (blue-blind)
#F09AB6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec90f2;
/* rgb */ color: rgb(236, 144, 242);
/* oklch */ color: oklch(78.2% 0.166 324.8);
Tailwind
colors: {
  custom: {
    50: '#f4b2f6',
    500: '#ec90f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec90f2;
$custom-light: #f4b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec90f2",
  "rgb": {
    "r": 236,
    "g": 144,
    "b": 242
  },
  "hsl": {
    "h": 296.327,
    "s": 79.032,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78179,
    "c": 0.16565,
    "h": 324.8
  },
  "luminance": 0.4419
}

Semantic roles & 50–950 ramp

primary
#EC90F2
secondary
#D9F4D7
accent
#DB0A17
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EC90F2

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

Preview Lab → · Contrast checker → · Palette generator →

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