#ED8EF2#ED8EF2

#ED8EF2 is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.0% C 0.170 H 325.2°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#ED8EF2
RGBrgb(237, 142, 242)
HSLhsl(297, 79%, 75%)
HSVhsv(297, 41%, 95%)
CMYKcmyk(2.1%, 41.3%, 0%, 5.1%)
CIE-LABlab(72.07, 50.78, -35.32)
CIE-LCHlch(72.07, 61.86, 325.18°)
OKLaboklab(77.99% 0.1393 -0.0967)
OKLCHoklch(77.99% 0.17 325.2)
XYZxyz(60.6236, 43.7640, 89.2412)
Luminance0.4376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED8EF2 #93F28E
analogous
#BB8EF2 #ED8EF2 #F28EC5
triadic
#ED8EF2 #F2ED8E #8EF2ED
tetradic
#ED8EF2 #F2BB8E #93F28E #8EC5F2
square
#ED8EF2 #F2BB8E #93F28E #8EC5F2
split-complementary
#ED8EF2 #C5F28E #8EF2BB
monochromatic
#DC20E5 #E457EC #ED8EF2 #F6C5F8 #FBE4FC

Accessibility & contrast

On white

2.15
#ED8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#ED8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED8EF2
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED8EF2#FFFFFF#000000##000000
##ED8EF21.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F299B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ed8ef2;
/* rgb */ color: rgb(237, 142, 242);
/* oklch */ color: oklch(78.0% 0.170 325.2);
Tailwind
colors: {
  custom: {
    50: '#f4b1f6',
    500: '#ed8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ed8ef2;
$custom-light: #f4b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed8ef2",
  "rgb": {
    "r": 237,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 297,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77989,
    "c": 0.16959,
    "h": 325.2
  },
  "luminance": 0.43761
}

Semantic roles & 50–950 ramp

primary
#ED8EF2
secondary
#D9F4D7
accent
#DC0A14
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #ED8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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