#EB7FE3#EB7FE3

#EB7FE3 is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.9% C 0.179 H 330.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#EB7FE3
RGBrgb(235, 127, 227)
HSLhsl(304, 73%, 71%)
HSVhsv(304, 46%, 92%)
CMYKcmyk(0%, 46%, 3.4%, 7.8%)
CIE-LABlab(68.31, 55.06, -32.93)
CIE-LCHlch(68.31, 64.16, 329.12°)
OKLaboklab(74.93% 0.1553 -0.0898)
OKLCHoklch(74.93% 0.179 330)
XYZxyz(55.7148, 38.3901, 77.1335)
Luminance0.3839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7FE3 #7FEB87
analogous
#BD7FEB #EB7FE3 #EB7FAD
triadic
#EB7FE3 #E3EB7F #7FE3EB
tetradic
#EB7FE3 #EBBD7F #7FEB87 #7FADEB
square
#EB7FE3 #EBBD7F #7FEB87 #7FADEB
split-complementary
#EB7FE3 #ADEB7F #7FEBBD
monochromatic
#CF20C2 #E34AD7 #EB7FE3 #F3B4EF #FBE5F9

Accessibility & contrast

On white

2.42
#EB7FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#EB7FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7FE3
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7FE3#FFFFFF#000000##000000
##EB7FE31.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE6
Deuteranopia (green-blind)
#98ACE0
Tritanopia (blue-blind)
#F288A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7fe3;
/* rgb */ color: rgb(235, 127, 227);
/* oklch */ color: oklch(74.9% 0.179 330.0);
Tailwind
colors: {
  custom: {
    50: '#f3a7ec',
    500: '#eb7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #eb7fe3;
$custom-light: #f3a7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7fe3",
  "rgb": {
    "r": 235,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 304.444,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74931,
    "c": 0.17937,
    "h": 330
  },
  "luminance": 0.38387
}

Semantic roles & 50–950 ramp

primary
#EB7FE3
secondary
#D5F1D7
accent
#D51F10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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