#EB28CF#EB28CF

#EB28CF is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 65.5% C 0.271 H 335.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#EB28CF
RGBrgb(235, 40, 207)
HSLhsl(309, 83%, 54%)
HSVhsv(309, 83%, 92%)
CMYKcmyk(0%, 83%, 11.9%, 7.8%)
CIE-LABlab(55.78, 83.99, -41.26)
CIE-LCHlch(55.78, 93.58, 333.84°)
OKLaboklab(65.5% 0.246 -0.113)
OKLCHoklch(65.5% 0.271 335.3)
XYZxyz(46.2830, 23.6891, 61.1543)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB28CF #28EB44
analogous
#A528EB #EB28CF #EB286E
triadic
#EB28CF #CFEB28 #28CFEB
tetradic
#EB28CF #EBA528 #28EB44 #286EEB
square
#EB28CF #EBA528 #28EB44 #286EEB
split-complementary
#EB28CF #6EEB28 #28EBA5
monochromatic
#8C0D79 #C412AA #EB28CF #F060DC #F598E8

Accessibility & contrast

On white

3.66
#EB28CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#EB28CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB28CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB28CF#FFFFFF#000000##000000
##EB28CF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2874D3
Deuteranopia (green-blind)
#768FCB
Tritanopia (blue-blind)
#F73D7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #eb28cf;
/* rgb */ color: rgb(235, 40, 207);
/* oklch */ color: oklch(65.5% 0.271 335.3);
Tailwind
colors: {
  custom: {
    50: '#f67cde',
    500: '#eb28cf',
    950: '#000000',
  },
}
SCSS
$custom: #eb28cf;
$custom-light: #f67cde;
$custom-dark: #000000;
JSON
{
  "hex": "#eb28cf",
  "rgb": {
    "r": 235,
    "g": 40,
    "b": 207
  },
  "hsl": {
    "h": 308.615,
    "s": 82.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.65495,
    "c": 0.2707,
    "h": 335.3
  },
  "luminance": 0.23685
}

Semantic roles & 50–950 ramp

primary
#EB28CF
secondary
#8EE19A
accent
#F94C2E
background
#FFF8FD
surface
#FFEFFB
border
#D7CAD4
text
#180B15
muted
#867C83

Preview Lab

Preview with #EB28CF

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

Preview Lab → · Contrast checker → · Palette generator →

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