#EB7DEF#EB7DEF

#EB7DEF is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.2% C 0.193 H 326.0°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#EB7DEF
RGBrgb(235, 125, 239)
HSLhsl(298, 78%, 71%)
HSVhsv(298, 48%, 94%)
CMYKcmyk(1.7%, 47.7%, 0%, 6.3%)
CIE-LABlab(68.43, 58.13, -39.35)
CIE-LCHlch(68.43, 70.20, 325.90°)
OKLaboklab(75.19% 0.1601 -0.1081)
OKLCHoklch(75.19% 0.193 326)
XYZxyz(57.1734, 38.5643, 86.0768)
Luminance0.3856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7DEF #81EF7D
analogous
#B27DEF #EB7DEF #EF7DBA
triadic
#EB7DEF #EFEB7D #7DEFEB
tetradic
#EB7DEF #EFB27D #81EF7D #7DBAEF
square
#EB7DEF #EFB27D #81EF7D #7DBAEF
split-complementary
#EB7DEF #BAEF7D #7DEFB2
monochromatic
#D11AD7 #E347E8 #EB7DEF #F3B3F6 #FBE4FC

Accessibility & contrast

On white

2.41
#EB7DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#EB7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7DEF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7DEF#FFFFFF#000000##000000
##EB7DEF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#F08AAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7def;
/* rgb */ color: rgb(235, 125, 239);
/* oklch */ color: oklch(75.2% 0.193 326.0);
Tailwind
colors: {
  custom: {
    50: '#f4a6f4',
    500: '#eb7def',
    950: '#000000',
  },
}
SCSS
$custom: #eb7def;
$custom-light: #f4a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7def",
  "rgb": {
    "r": 235,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 297.895,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75189,
    "c": 0.1932,
    "h": 326
  },
  "luminance": 0.38561
}

Semantic roles & 50–950 ramp

primary
#EB7DEF
secondary
#D6F3D5
accent
#DA0B12
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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