#EB7EEF#EB7EEF

#EB7EEF is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.3% C 0.192 H 326.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#EB7EEF
RGBrgb(235, 126, 239)
HSLhsl(298, 78%, 72%)
HSVhsv(298, 47%, 94%)
CMYKcmyk(1.7%, 47.3%, 0%, 6.3%)
CIE-LABlab(68.62, 57.65, -39.06)
CIE-LCHlch(68.62, 69.63, 325.88°)
OKLaboklab(75.33% 0.1588 -0.1073)
OKLCHoklch(75.33% 0.192 326)
XYZxyz(57.3006, 38.8188, 86.1192)
Luminance0.3882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EEF #82EF7E
analogous
#B37EEF #EB7EEF #EF7EBB
triadic
#EB7EEF #EFEB7E #7EEFEB
tetradic
#EB7EEF #EFB37E #82EF7E #7EBBEF
square
#EB7EEF #EFB37E #82EF7E #7EBBEF
split-complementary
#EB7EEF #BBEF7E #7EEFB3
monochromatic
#D11BD8 #E348E8 #EB7EEF #F3B4F6 #FBE4FC

Accessibility & contrast

On white

2.40
#EB7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#EB7EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7EEF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7EEF#FFFFFF#000000##000000
##EB7EEF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF3
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#F08BAC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7eef;
/* rgb */ color: rgb(235, 126, 239);
/* oklch */ color: oklch(75.3% 0.192 326.0);
Tailwind
colors: {
  custom: {
    50: '#f4a7f4',
    500: '#eb7eef',
    950: '#000000',
  },
}
SCSS
$custom: #eb7eef;
$custom-light: #f4a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7eef",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 297.876,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75327,
    "c": 0.19162,
    "h": 326
  },
  "luminance": 0.38816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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