#EA7DF2#EA7DF2

#EA7DF2 is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.2% C 0.195 H 324.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#EA7DF2
RGBrgb(234, 125, 242)
HSLhsl(296, 82%, 72%)
HSVhsv(296, 48%, 95%)
CMYKcmyk(3.3%, 48.3%, 0%, 5.1%)
CIE-LABlab(68.44, 58.39, -41.00)
CIE-LCHlch(68.44, 71.35, 324.93°)
OKLaboklab(75.21% 0.1595 -0.1128)
OKLCHoklch(75.21% 0.195 324.7)
XYZxyz(57.2909, 38.5733, 88.4148)
Luminance0.3857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7DF2 #85F27D
analogous
#AF7DF2 #EA7DF2 #F27DC0
triadic
#EA7DF2 #F2EA7D #7DF2EA
tetradic
#EA7DF2 #F2AF7D #85F27D #7DC0F2
square
#EA7DF2 #F2AF7D #85F27D #7DC0F2
split-complementary
#EA7DF2 #C0F27D #7DF2AF
monochromatic
#D116DE #E145EC #EA7DF2 #F3B5F8 #FBE3FC

Accessibility & contrast

On white

2.41
#EA7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#EA7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7DF2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7DF2#FFFFFF#000000##000000
##EA7DF21.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#EE8BAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ea7df2;
/* rgb */ color: rgb(234, 125, 242);
/* oklch */ color: oklch(75.2% 0.195 324.7);
Tailwind
colors: {
  custom: {
    50: '#f3a6f6',
    500: '#ea7df2',
    950: '#000000',
  },
}
SCSS
$custom: #ea7df2;
$custom-light: #f3a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7df2",
  "rgb": {
    "r": 234,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 295.897,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75211,
    "c": 0.19535,
    "h": 324.7
  },
  "luminance": 0.3857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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