#EB7EF6#EB7EF6

#EB7EF6 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.7% C 0.198 H 323.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#EB7EF6
RGBrgb(235, 126, 246)
HSLhsl(295, 87%, 73%)
HSVhsv(295, 49%, 96%)
CMYKcmyk(4.5%, 48.8%, 0%, 3.5%)
CIE-LABlab(68.93, 58.90, -42.43)
CIE-LCHlch(68.93, 72.59, 324.23°)
OKLaboklab(75.65% 0.1598 -0.1169)
OKLCHoklch(75.65% 0.198 323.8)
XYZxyz(58.3548, 39.2405, 91.6713)
Luminance0.3924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EF6 #89F67E
analogous
#AF7EF6 #EB7EF6 #F67EC5
triadic
#EB7EF6 #F6EB7E #7EF6EB
tetradic
#EB7EF6 #F6AF7E #89F67E #7EC5F6
square
#EB7EF6 #F6AF7E #89F67E #7EC5F6
split-complementary
#EB7EF6 #C5F67E #7EF6AF
monochromatic
#D510E9 #E245F2 #EB7EF6 #F4B7FA #FBE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB7EF6#FFFFFF#000000##000000
##EB7EF61.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)
#6EA0FA
Deuteranopia (green-blind)
#8FADF2
Tritanopia (blue-blind)
#EF8DAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb7ef6;
/* rgb */ color: rgb(235, 126, 246);
/* oklch */ color: oklch(75.7% 0.198 323.8);
Tailwind
colors: {
  custom: {
    50: '#f4a7f9',
    500: '#eb7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #eb7ef6;
$custom-light: #f4a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7ef6",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 294.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75653,
    "c": 0.19804,
    "h": 323.8
  },
  "luminance": 0.39238
}

Semantic roles & 50–950 ramp

primary
#EB7EF6
secondary
#D9F5D6
accent
#E40217
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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