#ED81F8#ED81F8

#ED81F8 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.4% C 0.196 H 323.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#ED81F8
RGBrgb(237, 129, 248)
HSLhsl(294, 89%, 74%)
HSVhsv(294, 48%, 97%)
CMYKcmyk(4.4%, 48%, 0%, 2.7%)
CIE-LABlab(69.81, 58.36, -42.12)
CIE-LCHlch(69.81, 71.97, 324.18°)
OKLaboklab(76.39% 0.1583 -0.116)
OKLCHoklch(76.39% 0.196 323.8)
XYZxyz(59.7170, 40.4851, 93.4576)
Luminance0.4048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED81F8 #8CF881
analogous
#B281F8 #ED81F8 #F881C8
triadic
#ED81F8 #F8ED81 #81F8ED
tetradic
#ED81F8 #F8B281 #8CF881 #81C8F8
square
#ED81F8 #F8B281 #8CF881 #81C8F8
split-complementary
#ED81F8 #C8F881 #81F8B2
monochromatic
#DC0DF1 #E547F5 #ED81F8 #F5BBFB #FBE2FD

Accessibility & contrast

On white

2.31
#ED81F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#ED81F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED81F8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED81F8#FFFFFF#000000##000000
##ED81F81.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#92AFF5
Tritanopia (blue-blind)
#F18FB1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ed81f8;
/* rgb */ color: rgb(237, 129, 248);
/* oklch */ color: oklch(76.4% 0.196 323.8);
Tailwind
colors: {
  custom: {
    50: '#f5a9fb',
    500: '#ed81f8',
    950: '#000000',
  },
}
SCSS
$custom: #ed81f8;
$custom-light: #f5a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ed81f8",
  "rgb": {
    "r": 237,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 294.454,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76391,
    "c": 0.19629,
    "h": 323.8
  },
  "luminance": 0.40482
}

Semantic roles & 50–950 ramp

primary
#ED81F8
secondary
#D8F5D6
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #ED81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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