#EB5AF2#EB5AF2

#EB5AF2 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.1% C 0.246 H 325.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#EB5AF2
RGBrgb(235, 90, 242)
HSLhsl(297, 85%, 65%)
HSVhsv(297, 63%, 95%)
CMYKcmyk(2.9%, 62.8%, 0%, 5.1%)
CIE-LABlab(62.83, 74.17, -49.81)
CIE-LCHlch(62.83, 89.34, 326.11°)
OKLaboklab(71.13% 0.2037 -0.138)
OKLCHoklch(71.13% 0.246 325.9)
XYZxyz(53.9430, 31.3886, 87.2045)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB5AF2 #61F25A
analogous
#9F5AF2 #EB5AF2 #F25AAD
triadic
#EB5AF2 #F2EB5A #5AF2EB
tetradic
#EB5AF2 #F29F5A #61F25A #5AADF2
square
#EB5AF2 #F29F5A #61F25A #5AADF2
split-complementary
#EB5AF2 #ADF25A #5AF29F
monochromatic
#BA0FC2 #E421EE #EB5AF2 #F293F6 #F9CBFB

Accessibility & contrast

On white

2.89
#EB5AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#EB5AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB5AF2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB5AF2#FFFFFF#000000##000000
##EB5AF21.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF7
Deuteranopia (green-blind)
#799EEE
Tritanopia (blue-blind)
#F1709F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #eb5af2;
/* rgb */ color: rgb(235, 90, 242);
/* oklch */ color: oklch(71.1% 0.246 325.9);
Tailwind
colors: {
  custom: {
    50: '#f592f7',
    500: '#eb5af2',
    950: '#000000',
  },
}
SCSS
$custom: #eb5af2;
$custom-light: #f592f7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb5af2",
  "rgb": {
    "r": 235,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 297.237,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.71133,
    "c": 0.24609,
    "h": 325.9
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

primary
#EB5AF2
secondary
#BDEEBA
accent
#E2040E
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EB5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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