#EC93FC#EC93FC

#EC93FC is a light, vivid purple. Relative luminance 0.457; OKLCH L 79.1% C 0.170 H 321.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#EC93FC
RGBrgb(236, 147, 252)
HSLhsl(291, 95%, 78%)
HSVhsv(291, 42%, 99%)
CMYKcmyk(6.3%, 41.7%, 0%, 1.2%)
CIE-LABlab(73.37, 49.80, -38.76)
CIE-LCHlch(73.37, 63.10, 322.11°)
OKLaboklab(79.07% 0.1331 -0.1065)
OKLCHoklch(79.07% 0.17 321.3)
XYZxyz(62.5944, 45.7309, 97.6063)
Luminance0.4573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC93FC #A3FC93
analogous
#B793FC #EC93FC #FC93D7
triadic
#EC93FC #FCEC93 #93FCEC
tetradic
#EC93FC #FCB793 #A3FC93 #93D7FC
square
#EC93FC #FCB793 #A3FC93 #93D7FC
split-complementary
#EC93FC #D7FC93 #93FCB7
monochromatic
#D71CF9 #E257FA #EC93FC #F6CFFE #FAE1FE

Accessibility & contrast

On white

2.07
#EC93FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#EC93FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC93FC
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC93FC#FFFFFF#000000##000000
##EC93FC1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#9DB8F9
Tritanopia (blue-blind)
#EEA0BC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec93fc;
/* rgb */ color: rgb(236, 147, 252);
/* oklch */ color: oklch(79.1% 0.170 321.3);
Tailwind
colors: {
  custom: {
    50: '#f4b4fd',
    500: '#ec93fc',
    950: '#000000',
  },
}
SCSS
$custom: #ec93fc;
$custom-light: #f4b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec93fc",
  "rgb": {
    "r": 236,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 290.857,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79071,
    "c": 0.17048,
    "h": 321.3
  },
  "luminance": 0.45729
}

Semantic roles & 50–950 ramp

primary
#EC93FC
secondary
#DAF6D5
accent
#E60023
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC93FC

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

Preview Lab → · Contrast checker → · Palette generator →

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