#EA7EF2#EA7EF2

#EA7EF2 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.3% C 0.194 H 324.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#EA7EF2
RGBrgb(234, 126, 242)
HSLhsl(296, 82%, 72%)
HSVhsv(296, 48%, 95%)
CMYKcmyk(3.3%, 47.9%, 0%, 5.1%)
CIE-LABlab(68.63, 57.91, -40.71)
CIE-LCHlch(68.63, 70.79, 324.89°)
OKLaboklab(75.35% 0.1581 -0.112)
OKLCHoklch(75.35% 0.194 324.7)
XYZxyz(57.4181, 38.8277, 88.4572)
Luminance0.3882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7EF2 #86F27E
analogous
#B07EF2 #EA7EF2 #F27EC0
triadic
#EA7EF2 #F2EA7E #7EF2EA
tetradic
#EA7EF2 #F2B07E #86F27E #7EC0F2
square
#EA7EF2 #F2B07E #86F27E #7EC0F2
split-complementary
#EA7EF2 #C0F27E #7EF2B0
monochromatic
#D116DF #E146EC #EA7EF2 #F3B6F8 #FAE3FC

Accessibility & contrast

On white

2.40
#EA7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#EA7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7EF2
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7EF2#FFFFFF#000000##000000
##EA7EF21.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#EE8CAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ea7ef2;
/* rgb */ color: rgb(234, 126, 242);
/* oklch */ color: oklch(75.3% 0.194 324.7);
Tailwind
colors: {
  custom: {
    50: '#f3a7f6',
    500: '#ea7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ea7ef2;
$custom-light: #f3a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7ef2",
  "rgb": {
    "r": 234,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 295.862,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75348,
    "c": 0.19379,
    "h": 324.7
  },
  "luminance": 0.38825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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