#EB7FF2#EB7FF2

#EB7FF2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.6% C 0.193 H 325.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#EB7FF2
RGBrgb(235, 127, 242)
HSLhsl(296, 82%, 72%)
HSVhsv(296, 48%, 95%)
CMYKcmyk(2.9%, 47.5%, 0%, 5.1%)
CIE-LABlab(68.94, 57.70, -40.22)
CIE-LCHlch(68.94, 70.33, 325.12°)
OKLaboklab(75.6% 0.1579 -0.1106)
OKLCHoklch(75.6% 0.193 325)
XYZxyz(57.8760, 39.2545, 88.5155)
Luminance0.3925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7FF2 #86F27F
analogous
#B27FF2 #EB7FF2 #F27FBF
triadic
#EB7FF2 #F2EB7F #7FF2EB
tetradic
#EB7FF2 #F2B27F #86F27F #7FBFF2
square
#EB7FF2 #F2B27F #86F27F #7FBFF2
split-complementary
#EB7FF2 #BFF27F #7FF2B2
monochromatic
#D417E0 #E247EC #EB7FF2 #F4B7F8 #FBE3FC

Accessibility & contrast

On white

2.37
#EB7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#EB7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7FF2
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7FF2#FFFFFF#000000##000000
##EB7FF21.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#92ADEF
Tritanopia (blue-blind)
#F08CAD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7ff2;
/* rgb */ color: rgb(235, 127, 242);
/* oklch */ color: oklch(75.6% 0.193 325.0);
Tailwind
colors: {
  custom: {
    50: '#f4a7f6',
    500: '#eb7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #eb7ff2;
$custom-light: #f4a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7ff2",
  "rgb": {
    "r": 235,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 296.348,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75603,
    "c": 0.19277,
    "h": 325
  },
  "luminance": 0.39252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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