#EB7AEB#EB7AEB

#EB7AEB is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.6% C 0.194 H 327.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#EB7AEB
RGBrgb(235, 122, 235)
HSLhsl(300, 74%, 70%)
HSVhsv(300, 48%, 92%)
CMYKcmyk(0%, 48.1%, 0%, 7.8%)
CIE-LABlab(67.71, 58.88, -38.28)
CIE-LCHlch(67.71, 70.22, 326.97°)
OKLaboklab(74.6% 0.1636 -0.105)
OKLCHoklch(74.6% 0.194 327.3)
XYZxyz(56.2149, 37.5824, 82.8743)
Luminance0.3758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AEB #7AEB7A
analogous
#B27AEB #EB7AEB #EB7AB3
triadic
#EB7AEB #EBEB7A #7AEBEB
tetradic
#EB7AEB #EBB37A #7AEB7A #7AB2EB
square
#EB7AEB #EBB37A #7AEB7A #7AB2EB
split-complementary
#EB7AEB #B3EB7A #7AEBB3
monochromatic
#CC1FCC #E345E3 #EB7AEB #F3AFF3 #FBE4FB

Accessibility & contrast

On white

2.47
#EB7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#EB7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AEB
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AEB#FFFFFF#000000##000000
##EB7AEB1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#91AAE8
Tritanopia (blue-blind)
#F186A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb7aeb;
/* rgb */ color: rgb(235, 122, 235);
/* oklch */ color: oklch(74.6% 0.194 327.3);
Tailwind
colors: {
  custom: {
    50: '#f4a4f2',
    500: '#eb7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #eb7aeb;
$custom-light: #f4a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7aeb",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 300,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.74598,
    "c": 0.19435,
    "h": 327.3
  },
  "luminance": 0.37579
}

Semantic roles & 50–950 ramp

primary
#EB7AEB
secondary
#D1F0D1
accent
#D61010
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EB7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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