#EC7BF9#EC7BF9

#EC7BF9 is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 75.5% C 0.206 H 323.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#EC7BF9
RGBrgb(236, 123, 249)
HSLhsl(294, 91%, 73%)
HSVhsv(294, 51%, 98%)
CMYKcmyk(5.2%, 50.6%, 0%, 2.4%)
CIE-LABlab(68.64, 61.16, -44.52)
CIE-LCHlch(68.64, 75.65, 323.95°)
OKLaboklab(75.51% 0.1653 -0.1229)
OKLCHoklch(75.51% 0.206 323.4)
XYZxyz(58.7722, 38.8411, 94.0055)
Luminance0.3884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7BF9 #88F97B
analogous
#AD7BF9 #EC7BF9 #F97BC7
triadic
#EC7BF9 #F9EC7B #7BF9EC
tetradic
#EC7BF9 #F9AD7B #88F97B #7BC7F9
square
#EC7BF9 #F9AD7B #88F97B #7BC7F9
split-complementary
#EC7BF9 #C7F97B #7BF9AD
monochromatic
#D70BEF #E440F6 #EC7BF9 #F4B6FC #FBE2FE

Accessibility & contrast

On white

2.40
#EC7BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#EC7BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7BF9
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7BF9#FFFFFF#000000##000000
##EC7BF91.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#8CACF5
Tritanopia (blue-blind)
#F08BAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec7bf9;
/* rgb */ color: rgb(236, 123, 249);
/* oklch */ color: oklch(75.5% 0.206 323.4);
Tailwind
colors: {
  custom: {
    50: '#f5a5fb',
    500: '#ec7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #ec7bf9;
$custom-light: #f5a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7bf9",
  "rgb": {
    "r": 236,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 293.81,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75509,
    "c": 0.206,
    "h": 323.4
  },
  "luminance": 0.38838
}

Semantic roles & 50–950 ramp

primary
#EC7BF9
secondary
#D9F6D5
accent
#E60018
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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