#EA7CF2#EA7CF2

#EA7CF2 is a light, vivid purple. Relative luminance 0.383; OKLCH L 75.1% C 0.197 H 324.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#EA7CF2
RGBrgb(234, 124, 242)
HSLhsl(296, 82%, 72%)
HSVhsv(296, 49%, 95%)
CMYKcmyk(3.3%, 48.8%, 0%, 5.1%)
CIE-LABlab(68.26, 58.88, -41.29)
CIE-LCHlch(68.26, 71.91, 324.96°)
OKLaboklab(75.07% 0.1608 -0.1137)
OKLCHoklch(75.07% 0.197 324.7)
XYZxyz(57.1650, 38.3213, 88.3729)
Luminance0.3832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7CF2 #84F27C
analogous
#AF7CF2 #EA7CF2 #F27CBF
triadic
#EA7CF2 #F2EA7C #7CF2EA
tetradic
#EA7CF2 #F2AF7C #84F27C #7CBFF2
square
#EA7CF2 #F2AF7C #84F27C #7CBFF2
split-complementary
#EA7CF2 #BFF27C #7CF2AF
monochromatic
#D016DE #E144EC #EA7CF2 #F3B4F8 #FBE3FC

Accessibility & contrast

On white

2.42
#EA7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#EA7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7CF2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7CF2#FFFFFF#000000##000000
##EA7CF21.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#EE8AAC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7cf2;
/* rgb */ color: rgb(234, 124, 242);
/* oklch */ color: oklch(75.1% 0.197 324.7);
Tailwind
colors: {
  custom: {
    50: '#f3a6f6',
    500: '#ea7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ea7cf2;
$custom-light: #f3a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7cf2",
  "rgb": {
    "r": 234,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 295.932,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75074,
    "c": 0.19693,
    "h": 324.7
  },
  "luminance": 0.38319
}

Semantic roles & 50–950 ramp

primary
#EA7CF2
secondary
#D8F4D6
accent
#DE0716
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EA7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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