#EE7AFB#EE7AFB

#EE7AFB is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.7% C 0.210 H 323.5°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#EE7AFB
RGBrgb(238, 122, 251)
HSLhsl(294, 94%, 73%)
HSVhsv(294, 51%, 98%)
CMYKcmyk(5.2%, 51.4%, 0%, 1.6%)
CIE-LABlab(68.80, 62.53, -45.34)
CIE-LCHlch(68.80, 77.24, 324.05°)
OKLaboklab(75.71% 0.1691 -0.1252)
OKLCHoklch(75.71% 0.21 323.5)
XYZxyz(59.6303, 39.0641, 95.6473)
Luminance0.3906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EE7AFB #87FB7A
analogous
#AD7AFB #EE7AFB #FB7AC8
triadic
#EE7AFB #FBEE7A #7AFBEE
tetradic
#EE7AFB #FBAD7A #87FB7A #7AC8FB
square
#EE7AFB #FBAD7A #87FB7A #7AC8FB
split-complementary
#EE7AFB #C8FB7A #7AFBAD
monochromatic
#DC07F3 #E63FF9 #EE7AFB #F6B5FD #FBE1FE

Accessibility & contrast

On white

2.38
#EE7AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#EE7AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EE7AFB
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EE7AFB#FFFFFF#000000##000000
##EE7AFB1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#8CADF7
Tritanopia (blue-blind)
#F28BB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ee7afb;
/* rgb */ color: rgb(238, 122, 251);
/* oklch */ color: oklch(75.7% 0.210 323.5);
Tailwind
colors: {
  custom: {
    50: '#f6a5fd',
    500: '#ee7afb',
    950: '#000000',
  },
}
SCSS
$custom: #ee7afb;
$custom-light: #f6a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ee7afb",
  "rgb": {
    "r": 238,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 293.953,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75711,
    "c": 0.21042,
    "h": 323.5
  },
  "luminance": 0.39061
}

Semantic roles & 50–950 ramp

primary
#EE7AFB
secondary
#D8F6D5
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EE7AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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