#ED8BF2#ED8BF2

#ED8BF2 is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.5% C 0.175 H 325.3°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#ED8BF2
RGBrgb(237, 139, 242)
HSLhsl(297, 80%, 75%)
HSVhsv(297, 43%, 95%)
CMYKcmyk(2.1%, 42.6%, 0%, 5.1%)
CIE-LABlab(71.48, 52.30, -36.25)
CIE-LCHlch(71.48, 63.64, 325.28°)
OKLaboklab(77.54% 0.1436 -0.0993)
OKLCHoklch(77.54% 0.175 325.3)
XYZxyz(60.1833, 42.8833, 89.0944)
Luminance0.4288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED8BF2 #90F28B
analogous
#B98BF2 #ED8BF2 #F28BC4
triadic
#ED8BF2 #F2ED8B #8BF2ED
tetradic
#ED8BF2 #F2B98B #90F28B #8BC4F2
square
#ED8BF2 #F2B98B #90F28B #8BC4F2
split-complementary
#ED8BF2 #C4F28B #8BF2B9
monochromatic
#DC1DE6 #E454EC #ED8BF2 #F6C2F8 #FBE3FC

Accessibility & contrast

On white

2.19
#ED8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#ED8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED8BF2
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED8BF2#FFFFFF#000000##000000
##ED8BF21.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#9CB3EF
Tritanopia (blue-blind)
#F296B3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ed8bf2;
/* rgb */ color: rgb(237, 139, 242);
/* oklch */ color: oklch(77.5% 0.175 325.3);
Tailwind
colors: {
  custom: {
    50: '#f5aff6',
    500: '#ed8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ed8bf2;
$custom-light: #f5aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed8bf2",
  "rgb": {
    "r": 237,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 297.087,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77544,
    "c": 0.17454,
    "h": 325.3
  },
  "luminance": 0.42881
}

Semantic roles & 50–950 ramp

primary
#ED8BF2
secondary
#D9F4D7
accent
#DC0914
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #ED8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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