#ED8FF2#ED8FF2

#ED8FF2 is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.1% C 0.168 H 325.2°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#ED8FF2
RGBrgb(237, 143, 242)
HSLhsl(297, 79%, 75%)
HSVhsv(297, 41%, 95%)
CMYKcmyk(2.1%, 40.9%, 0%, 5.1%)
CIE-LABlab(72.27, 50.28, -35.01)
CIE-LCHlch(72.27, 61.27, 325.15°)
OKLaboklab(78.14% 0.1379 -0.0958)
OKLCHoklch(78.14% 0.168 325.2)
XYZxyz(60.7731, 44.0629, 89.2910)
Luminance0.4406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED8FF2 #94F28F
analogous
#BB8FF2 #ED8FF2 #F28FC5
triadic
#ED8FF2 #F2ED8F #8FF2ED
tetradic
#ED8FF2 #F2BB8F #94F28F #8FC5F2
square
#ED8FF2 #F2BB8F #94F28F #8FC5F2
split-complementary
#ED8FF2 #C5F28F #8FF2BB
monochromatic
#DB21E5 #E458EC #ED8FF2 #F6C6F8 #FBE4FC

Accessibility & contrast

On white

2.14
#ED8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#ED8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED8FF2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED8FF2#FFFFFF#000000##000000
##ED8FF21.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#9FB5EF
Tritanopia (blue-blind)
#F199B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ed8ff2;
/* rgb */ color: rgb(237, 143, 242);
/* oklch */ color: oklch(78.1% 0.168 325.2);
Tailwind
colors: {
  custom: {
    50: '#f4b2f6',
    500: '#ed8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ed8ff2;
$custom-light: #f4b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed8ff2",
  "rgb": {
    "r": 237,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 296.97,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78139,
    "c": 0.16792,
    "h": 325.2
  },
  "luminance": 0.4406
}

Semantic roles & 50–950 ramp

primary
#ED8FF2
secondary
#D9F4D7
accent
#DB0A15
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #ED8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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