#EF8CE3#EF8CE3

#EF8CE3 is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.3% C 0.161 H 331.5°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#EF8CE3
RGBrgb(239, 140, 227)
HSLhsl(307, 76%, 74%)
HSVhsv(307, 41%, 94%)
CMYKcmyk(0%, 41.4%, 5%, 6.3%)
CIE-LABlab(71.32, 49.75, -28.24)
CIE-LCHlch(71.32, 57.21, 330.42°)
OKLaboklab(77.29% 0.1412 -0.0766)
OKLCHoklch(77.29% 0.161 331.5)
XYZxyz(58.8393, 42.6561, 77.7924)
Luminance0.4265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CE3 #8CEF98
analogous
#CA8CEF #EF8CE3 #EF8CB2
triadic
#EF8CE3 #E3EF8C #8CE3EF
tetradic
#EF8CE3 #EFCA8C #8CEF98 #8CB2EF
square
#EF8CE3 #EFCA8C #8CEF98 #8CB2EF
split-complementary
#EF8CE3 #B2EF8C #8CEFCA
monochromatic
#E021C9 #E856D6 #EF8CE3 #F6C2F0 #FBE4F8

Accessibility & contrast

On white

2.20
#EF8CE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#EF8CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CE3
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CE3#FFFFFF#000000##000000
##EF8CE31.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E6
Deuteranopia (green-blind)
#A3B4E0
Tritanopia (blue-blind)
#F793AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef8ce3;
/* rgb */ color: rgb(239, 140, 227);
/* oklch */ color: oklch(77.3% 0.161 331.5);
Tailwind
colors: {
  custom: {
    50: '#f6b0ec',
    500: '#ef8ce3',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ce3;
$custom-light: #f6b0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ce3",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 227
  },
  "hsl": {
    "h": 307.273,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77286,
    "c": 0.16062,
    "h": 331.5
  },
  "luminance": 0.42653
}

Semantic roles & 50–950 ramp

primary
#EF8CE3
secondary
#D8F3DB
accent
#D8260E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF8CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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