#EB42F0#EB42F0

#EB42F0 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.9% C 0.272 H 326.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#EB42F0
RGBrgb(235, 66, 240)
HSLhsl(298, 85%, 60%)
HSVhsv(298, 73%, 94%)
CMYKcmyk(2.1%, 72.5%, 0%, 5.9%)
CIE-LABlab(59.76, 82.24, -53.59)
CIE-LCHlch(59.76, 98.15, 326.91°)
OKLaboklab(68.89% 0.2272 -0.1488)
OKLCHoklch(68.89% 0.272 326.8)
XYZxyz(51.9365, 27.8535, 85.0619)
Luminance0.2785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB42F0 #47F042
analogous
#9442F0 #EB42F0 #F0429E
triadic
#EB42F0 #F0EB42 #42F0EB
tetradic
#EB42F0 #F09442 #47F042 #429EF0
square
#EB42F0 #F09442 #47F042 #429EF0
split-complementary
#EB42F0 #9EF042 #42F094
monochromatic
#A60EAA #DD12E3 #EB42F0 #F17BF4 #F7B3F9

Accessibility & contrast

On white

3.20
#EB42F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#EB42F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB42F0
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB42F0#FFFFFF#000000##000000
##EB42F01.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1082F5
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#F15F96
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #eb42f0;
/* rgb */ color: rgb(235, 66, 240);
/* oklch */ color: oklch(68.9% 0.272 326.8);
Tailwind
colors: {
  custom: {
    50: '#f687f5',
    500: '#eb42f0',
    950: '#000000',
  },
}
SCSS
$custom: #eb42f0;
$custom-light: #f687f5;
$custom-dark: #000000;
JSON
{
  "hex": "#eb42f0",
  "rgb": {
    "r": 235,
    "g": 66,
    "b": 240
  },
  "hsl": {
    "h": 298.276,
    "s": 85.294,
    "l": 60
  },
  "oklch": {
    "l": 0.68887,
    "c": 0.2716,
    "h": 326.8
  },
  "luminance": 0.2785
}

Semantic roles & 50–950 ramp

primary
#EB42F0
secondary
#A7E8A5
accent
#FC2C32
background
#FFF8FF
surface
#FFF0FE
border
#D7CBD6
text
#180D17
muted
#867D85

Preview Lab

Preview with #EB42F0

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

Preview Lab → · Contrast checker → · Palette generator →

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