#EB42E3#EB42E3

#EB42E3 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 68.2% C 0.262 H 330.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#EB42E3
RGBrgb(235, 66, 227)
HSLhsl(303, 81%, 59%)
HSVhsv(303, 72%, 92%)
CMYKcmyk(0%, 71.9%, 3.4%, 7.8%)
CIE-LABlab(59.07, 80.23, -47.39)
CIE-LCHlch(59.07, 93.18, 329.43°)
OKLaboklab(68.18% 0.2272 -0.1308)
OKLCHoklch(68.18% 0.262 330.1)
XYZxyz(50.0740, 27.1085, 75.2533)
Luminance0.2711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB42E3 #42EB4A
analogous
#9F42EB #EB42E3 #EB428F
triadic
#EB42E3 #E3EB42 #42E3EB
tetradic
#EB42E3 #EB9F42 #42EB4A #428FEB
square
#EB42E3 #EB9F42 #42EB4A #428FEB
split-complementary
#EB42E3 #8FEB42 #42EB9F
monochromatic
#A2119B #D917D0 #EB42E3 #F179EB #F7B1F3

Accessibility & contrast

On white

3.27
#EB42E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#EB42E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB42E3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB42E3#FFFFFF#000000##000000
##EB42E31.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E7
Deuteranopia (green-blind)
#7596DF
Tritanopia (blue-blind)
#F4598F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #eb42e3;
/* rgb */ color: rgb(235, 66, 227);
/* oklch */ color: oklch(68.2% 0.262 330.1);
Tailwind
colors: {
  custom: {
    50: '#f686ec',
    500: '#eb42e3',
    950: '#000000',
  },
}
SCSS
$custom: #eb42e3;
$custom-light: #f686ec;
$custom-dark: #000000;
JSON
{
  "hex": "#eb42e3",
  "rgb": {
    "r": 235,
    "g": 66,
    "b": 227
  },
  "hsl": {
    "h": 302.84,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.68179,
    "c": 0.26218,
    "h": 330.1
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#EB42E3
secondary
#A3E6A6
accent
#F73A31
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#180C16
muted
#867D84

Preview Lab

Preview with #EB42E3

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

Preview Lab → · Contrast checker → · Palette generator →

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