#EC8BF9#EC8BF9

#EC8BF9 is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.7% C 0.181 H 322.7°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#EC8BF9
RGBrgb(236, 139, 249)
HSLhsl(293, 90%, 76%)
HSVhsv(293, 44%, 98%)
CMYKcmyk(5.2%, 44.2%, 0%, 2.4%)
CIE-LABlab(71.65, 53.30, -39.80)
CIE-LCHlch(71.65, 66.52, 323.25°)
OKLaboklab(77.75% 0.1437 -0.1095)
OKLCHoklch(77.75% 0.181 322.7)
XYZxyz(60.9218, 43.1402, 94.7220)
Luminance0.4314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BF9 #98F98B
analogous
#B58BF9 #EC8BF9 #F98BCF
triadic
#EC8BF9 #F9EC8B #8BF9EC
tetradic
#EC8BF9 #F9B58B #98F98B #8BCFF9
square
#EC8BF9 #F9B58B #98F98B #8BCFF9
split-complementary
#EC8BF9 #CFF98B #8BF9B5
monochromatic
#D917F3 #E251F6 #EC8BF9 #F6C5FC #FAE2FD

Accessibility & contrast

On white

2.18
#EC8BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#EC8BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BF9
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BF9#FFFFFF#000000##000000
##EC8BF91.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FD
Deuteranopia (green-blind)
#98B3F6
Tritanopia (blue-blind)
#EF98B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8bf9;
/* rgb */ color: rgb(236, 139, 249);
/* oklch */ color: oklch(77.7% 0.181 322.7);
Tailwind
colors: {
  custom: {
    50: '#f4affb',
    500: '#ec8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #ec8bf9;
$custom-light: #f4affb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8bf9",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 292.909,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77745,
    "c": 0.18066,
    "h": 322.7
  },
  "luminance": 0.43138
}

Semantic roles & 50–950 ramp

primary
#EC8BF9
secondary
#D9F6D5
accent
#E6001B
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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