#EF8CE7#EF8CE7

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

Color values

HEX#EF8CE7
RGBrgb(239, 140, 231)
HSLhsl(305, 76%, 74%)
HSVhsv(305, 41%, 94%)
CMYKcmyk(0%, 41.4%, 3.3%, 6.3%)
CIE-LABlab(71.47, 50.44, -30.20)
CIE-LCHlch(71.47, 58.79, 329.08°)
OKLaboklab(77.45% 0.1421 -0.0821)
OKLCHoklch(77.45% 0.164 330)
XYZxyz(59.3977, 42.8795, 80.7337)
Luminance0.4288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CE7 #8CEF94
analogous
#C58CEF #EF8CE7 #EF8CB6
triadic
#EF8CE7 #E7EF8C #8CE7EF
tetradic
#EF8CE7 #EFC58C #8CEF94 #8CB6EF
square
#EF8CE7 #EFC58C #8CEF94 #8CB6EF
split-complementary
#EF8CE7 #B6EF8C #8CEFC5
monochromatic
#E021D1 #E856DC #EF8CE7 #F6C2F2 #FBE4F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EF8CE7#FFFFFF#000000##000000
##EF8CE71.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)
#87A7EA
Deuteranopia (green-blind)
#A2B4E4
Tritanopia (blue-blind)
#F694AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef8ce7;
/* rgb */ color: rgb(239, 140, 231);
/* oklch */ color: oklch(77.5% 0.164 330.0);
Tailwind
colors: {
  custom: {
    50: '#f6b0ef',
    500: '#ef8ce7',
    950: '#000000',
  },
}
SCSS
$custom: #ef8ce7;
$custom-light: #f6b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8ce7",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 304.848,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7745,
    "c": 0.16411,
    "h": 330
  },
  "luminance": 0.42876
}

Semantic roles & 50–950 ramp

primary
#EF8CE7
secondary
#D8F3DA
accent
#D81E0E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EF8CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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