#ED7CFB#ED7CFB

#ED7CFB is a light, highly saturated purple. Relative luminance 0.394; OKLCH L 75.9% C 0.207 H 323.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#ED7CFB
RGBrgb(237, 124, 251)
HSLhsl(293, 94%, 74%)
HSVhsv(293, 51%, 98%)
CMYKcmyk(5.6%, 50.6%, 0%, 1.6%)
CIE-LABlab(69.03, 61.31, -44.98)
CIE-LCHlch(69.03, 76.05, 323.73°)
OKLaboklab(75.86% 0.1654 -0.1242)
OKLCHoklch(75.86% 0.207 323.1)
XYZxyz(59.5436, 39.3877, 95.7143)
Luminance0.3938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED7CFB #8AFB7C
analogous
#AD7CFB #ED7CFB #FB7CC9
triadic
#ED7CFB #FBED7C #7CFBED
tetradic
#ED7CFB #FBAD7C #8AFB7C #7CC9FB
square
#ED7CFB #FBAD7C #8AFB7C #7CC9FB
split-complementary
#ED7CFB #C9FB7C #7CFBAD
monochromatic
#DB07F5 #E541F9 #ED7CFB #F5B7FD #FBE1FE

Accessibility & contrast

On white

2.37
#ED7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#ED7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED7CFB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED7CFB#FFFFFF#000000##000000
##ED7CFB1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#F08CB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ed7cfb;
/* rgb */ color: rgb(237, 124, 251);
/* oklch */ color: oklch(75.9% 0.207 323.1);
Tailwind
colors: {
  custom: {
    50: '#f5a6fd',
    500: '#ed7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ed7cfb;
$custom-light: #f5a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ed7cfb",
  "rgb": {
    "r": 237,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 293.386,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75857,
    "c": 0.20684,
    "h": 323.1
  },
  "luminance": 0.39385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ED7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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