#EA7BF2#EA7BF2

#EA7BF2 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.9% C 0.199 H 324.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#EA7BF2
RGBrgb(234, 123, 242)
HSLhsl(296, 82%, 72%)
HSVhsv(296, 49%, 95%)
CMYKcmyk(3.3%, 49.2%, 0%, 5.1%)
CIE-LABlab(68.07, 59.36, -41.58)
CIE-LCHlch(68.07, 72.47, 324.99°)
OKLaboklab(74.94% 0.1622 -0.1145)
OKLCHoklch(74.94% 0.199 324.8)
XYZxyz(57.0403, 38.0720, 88.3313)
Luminance0.3807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA7BF2 #83F27B
analogous
#AF7BF2 #EA7BF2 #F27BBF
triadic
#EA7BF2 #F2EA7B #7BF2EA
tetradic
#EA7BF2 #F2AF7B #83F27B #7BBFF2
square
#EA7BF2 #F2AF7B #83F27B #7BBFF2
split-complementary
#EA7BF2 #BFF27B #7BF2AF
monochromatic
#CF16DD #E143ED #EA7BF2 #F3B3F7 #FBE3FC

Accessibility & contrast

On white

2.44
#EA7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#EA7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA7BF2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA7BF2#FFFFFF#000000##000000
##EA7BF21.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#EF89AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea7bf2;
/* rgb */ color: rgb(234, 123, 242);
/* oklch */ color: oklch(74.9% 0.199 324.8);
Tailwind
colors: {
  custom: {
    50: '#f3a5f7',
    500: '#ea7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ea7bf2;
$custom-light: #f3a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea7bf2",
  "rgb": {
    "r": 234,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 295.966,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74939,
    "c": 0.1985,
    "h": 324.8
  },
  "luminance": 0.38069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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