#EB74E2#EB74E2

#EB74E2 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.4% C 0.196 H 330.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#EB74E2
RGBrgb(235, 116, 226)
HSLhsl(305, 75%, 69%)
HSVhsv(305, 51%, 92%)
CMYKcmyk(0%, 50.6%, 3.8%, 7.8%)
CIE-LABlab(66.25, 60.19, -35.57)
CIE-LCHlch(66.25, 69.91, 329.42°)
OKLaboklab(73.39% 0.1702 -0.0972)
OKLCHoklch(73.39% 0.196 330.3)
XYZxyz(54.2333, 35.6473, 75.9608)
Luminance0.3564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB74E2 #74EB7D
analogous
#B974EB #EB74E2 #EB74A7
triadic
#EB74E2 #E2EB74 #74E2EB
tetradic
#EB74E2 #EBB974 #74EB7D #74A7EB
square
#EB74E2 #EBB974 #74EB7D #74A7EB
split-complementary
#EB74E2 #A7EB74 #74EBB9
monochromatic
#C81DBB #E33ED7 #EB74E2 #F3AAED #FADFF8

Accessibility & contrast

On white

2.58
#EB74E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#EB74E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB74E2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB74E2#FFFFFF#000000##000000
##EB74E21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#91A7DF
Tritanopia (blue-blind)
#F37EA1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #eb74e2;
/* rgb */ color: rgb(235, 116, 226);
/* oklch */ color: oklch(73.4% 0.196 330.3);
Tailwind
colors: {
  custom: {
    50: '#f4a0eb',
    500: '#eb74e2',
    950: '#000000',
  },
}
SCSS
$custom: #eb74e2;
$custom-light: #f4a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb74e2",
  "rgb": {
    "r": 235,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 304.538,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73391,
    "c": 0.19599,
    "h": 330.3
  },
  "luminance": 0.35644
}

Semantic roles & 50–950 ramp

primary
#EB74E2
secondary
#CCEFCE
accent
#D71E0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EB74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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