#EB51F2#EB51F2

#EB51F2 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 70.3% C 0.257 H 326.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#EB51F2
RGBrgb(235, 81, 242)
HSLhsl(297, 86%, 63%)
HSVhsv(297, 67%, 95%)
CMYKcmyk(2.9%, 66.5%, 0%, 5.1%)
CIE-LABlab(61.62, 77.56, -51.74)
CIE-LCHlch(61.62, 93.23, 326.30°)
OKLaboklab(70.26% 0.2132 -0.1435)
OKLCHoklch(70.26% 0.257 326.1)
XYZxyz(53.2293, 29.9613, 86.9666)
Luminance0.2996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB51F2 #58F251
analogous
#9A51F2 #EB51F2 #F251A9
triadic
#EB51F2 #F2EB51 #51F2EB
tetradic
#EB51F2 #F29A51 #58F251 #51A9F2
square
#EB51F2 #F29A51 #58F251 #51A9F2
split-complementary
#EB51F2 #A9F251 #51F29A
monochromatic
#B30EBB #E418EE #EB51F2 #F28AF6 #F8C3FB

Accessibility & contrast

On white

3.00
#EB51F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#EB51F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB51F2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB51F2#FFFFFF#000000##000000
##EB51F21.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F7
Deuteranopia (green-blind)
#749CEE
Tritanopia (blue-blind)
#F1699C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #eb51f2;
/* rgb */ color: rgb(235, 81, 242);
/* oklch */ color: oklch(70.3% 0.257 326.1);
Tailwind
colors: {
  custom: {
    50: '#f58ef7',
    500: '#eb51f2',
    950: '#000000',
  },
}
SCSS
$custom: #eb51f2;
$custom-light: #f58ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb51f2",
  "rgb": {
    "r": 235,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 297.391,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70258,
    "c": 0.25704,
    "h": 326.1
  },
  "luminance": 0.29958
}

Semantic roles & 50–950 ramp

primary
#EB51F2
secondary
#B5ECB3
accent
#E3030D
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #EB51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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