#EB7FEF#EB7FEF

#EB7FEF is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.5% C 0.190 H 325.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#EB7FEF
RGBrgb(235, 127, 239)
HSLhsl(298, 78%, 72%)
HSVhsv(298, 47%, 94%)
CMYKcmyk(1.7%, 46.9%, 0%, 6.3%)
CIE-LABlab(68.81, 57.16, -38.77)
CIE-LCHlch(68.81, 69.07, 325.85°)
OKLaboklab(75.47% 0.1574 -0.1064)
OKLCHoklch(75.47% 0.19 325.9)
XYZxyz(57.4291, 39.0758, 86.1620)
Luminance0.3907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7FEF #83EF7F
analogous
#B37FEF #EB7FEF #EF7FBB
triadic
#EB7FEF #EFEB7F #7FEFEB
tetradic
#EB7FEF #EFB37F #83EF7F #7FBBEF
square
#EB7FEF #EFB37F #83EF7F #7FBBEF
split-complementary
#EB7FEF #BBEF7F #7FEFB3
monochromatic
#D21BD9 #E349E8 #EB7FEF #F4B5F6 #FBE4FC

Accessibility & contrast

On white

2.38
#EB7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#EB7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7FEF
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7FEF#FFFFFF#000000##000000
##EB7FEF1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#749FF3
Deuteranopia (green-blind)
#93ADEC
Tritanopia (blue-blind)
#F08BAC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7fef;
/* rgb */ color: rgb(235, 127, 239);
/* oklch */ color: oklch(75.5% 0.190 325.9);
Tailwind
colors: {
  custom: {
    50: '#f3a7f4',
    500: '#eb7fef',
    950: '#000000',
  },
}
SCSS
$custom: #eb7fef;
$custom-light: #f3a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7fef",
  "rgb": {
    "r": 235,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 297.857,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75465,
    "c": 0.19003,
    "h": 325.9
  },
  "luminance": 0.39073
}

Semantic roles & 50–950 ramp

primary
#EB7FEF
secondary
#D8F3D7
accent
#DA0B13
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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