#EB7CEF#EB7CEF

#EB7CEF is a light, vivid purple. Relative luminance 0.383; OKLCH L 75.1% C 0.195 H 326.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#EB7CEF
RGBrgb(235, 124, 239)
HSLhsl(298, 78%, 71%)
HSVhsv(298, 48%, 94%)
CMYKcmyk(1.7%, 48.1%, 0%, 6.3%)
CIE-LABlab(68.25, 58.62, -39.64)
CIE-LCHlch(68.25, 70.76, 325.93°)
OKLaboklab(75.05% 0.1615 -0.1089)
OKLCHoklch(75.05% 0.195 326)
XYZxyz(57.0474, 38.3124, 86.0348)
Luminance0.3831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7CEF #80EF7C
analogous
#B17CEF #EB7CEF #EF7CB9
triadic
#EB7CEF #EFEB7C #7CEFEB
tetradic
#EB7CEF #EFB17C #80EF7C #7CB9EF
square
#EB7CEF #EFB17C #80EF7C #7CB9EF
split-complementary
#EB7CEF #B9EF7C #7CEFB1
monochromatic
#D01AD6 #E345E8 #EB7CEF #F3B3F6 #FBE4FC

Accessibility & contrast

On white

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

On black

8.66
#EB7CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7CEF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7CEF#FFFFFF#000000##000000
##EB7CEF1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF3
Deuteranopia (green-blind)
#91ABEC
Tritanopia (blue-blind)
#F089AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7cef;
/* rgb */ color: rgb(235, 124, 239);
/* oklch */ color: oklch(75.1% 0.195 326.0);
Tailwind
colors: {
  custom: {
    50: '#f4a6f4',
    500: '#eb7cef',
    950: '#000000',
  },
}
SCSS
$custom: #eb7cef;
$custom-light: #f4a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7cef",
  "rgb": {
    "r": 235,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 297.913,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75053,
    "c": 0.19477,
    "h": 326
  },
  "luminance": 0.38309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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