#EB7FDF#EB7FDF

#EB7FDF is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.8% C 0.176 H 331.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#EB7FDF
RGBrgb(235, 127, 223)
HSLhsl(307, 73%, 71%)
HSVhsv(307, 46%, 92%)
CMYKcmyk(0%, 46%, 5.1%, 7.8%)
CIE-LABlab(68.15, 54.38, -30.97)
CIE-LCHlch(68.15, 62.58, 330.34°)
OKLaboklab(74.76% 0.1545 -0.0842)
OKLCHoklch(74.76% 0.176 331.4)
XYZxyz(55.1692, 38.1718, 74.2598)
Luminance0.3817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7FDF #7FEB8B
analogous
#C17FEB #EB7FDF #EB7FA9
triadic
#EB7FDF #DFEB7F #7FDFEB
tetradic
#EB7FDF #EBC17F #7FEB8B #7FA9EB
square
#EB7FDF #EBC17F #7FEB8B #7FA9EB
split-complementary
#EB7FDF #A9EB7F #7FEBC1
monochromatic
#CF20BC #E34AD2 #EB7FDF #F3B4EC #FBE5F8

Accessibility & contrast

On white

2.43
#EB7FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#EB7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7FDF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7FDF#FFFFFF#000000##000000
##EB7FDF1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9DE2
Deuteranopia (green-blind)
#99ACDC
Tritanopia (blue-blind)
#F387A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7fdf;
/* rgb */ color: rgb(235, 127, 223);
/* oklch */ color: oklch(74.8% 0.176 331.4);
Tailwind
colors: {
  custom: {
    50: '#f3a7e9',
    500: '#eb7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #eb7fdf;
$custom-light: #f3a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7fdf",
  "rgb": {
    "r": 235,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 306.667,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74759,
    "c": 0.17594,
    "h": 331.4
  },
  "luminance": 0.38169
}

Semantic roles & 50–950 ramp

primary
#EB7FDF
secondary
#D5F1D8
accent
#D52610
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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