#EB7EF2#EB7EF2

#EB7EF2 is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.5% C 0.194 H 325.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#EB7EF2
RGBrgb(235, 126, 242)
HSLhsl(296, 82%, 72%)
HSVhsv(296, 48%, 95%)
CMYKcmyk(2.9%, 47.9%, 0%, 5.1%)
CIE-LABlab(68.75, 58.18, -40.51)
CIE-LCHlch(68.75, 70.90, 325.15°)
OKLaboklab(75.47% 0.1592 -0.1114)
OKLCHoklch(75.47% 0.194 325)
XYZxyz(57.7475, 38.9975, 88.4727)
Luminance0.3900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EF2 #85F27E
analogous
#B17EF2 #EB7EF2 #F27EBF
triadic
#EB7EF2 #F2EB7E #7EF2EB
tetradic
#EB7EF2 #F2B17E #85F27E #7EBFF2
square
#EB7EF2 #F2B17E #85F27E #7EBFF2
split-complementary
#EB7EF2 #BFF27E #7EF2B1
monochromatic
#D316DF #E246EC #EB7EF2 #F4B6F8 #FBE3FC

Accessibility & contrast

On white

2.39
#EB7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#EB7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7EF2
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7EF2#FFFFFF#000000##000000
##EB7EF21.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#91ACEF
Tritanopia (blue-blind)
#F08BAD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7ef2;
/* rgb */ color: rgb(235, 126, 242);
/* oklch */ color: oklch(75.5% 0.194 325.0);
Tailwind
colors: {
  custom: {
    50: '#f4a7f6',
    500: '#eb7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #eb7ef2;
$custom-light: #f4a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7ef2",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 296.379,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75465,
    "c": 0.19435,
    "h": 325
  },
  "luminance": 0.38995
}

Semantic roles & 50–950 ramp

primary
#EB7EF2
secondary
#D9F4D7
accent
#DE0714
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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