#EF8CF2#EF8CF2

#EF8CF2 is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.9% C 0.174 H 326.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#EF8CF2
RGBrgb(239, 140, 242)
HSLhsl(298, 80%, 75%)
HSVhsv(298, 42%, 95%)
CMYKcmyk(1.2%, 42.1%, 0%, 5.1%)
CIE-LABlab(71.91, 52.38, -35.56)
CIE-LCHlch(71.91, 63.31, 325.83°)
OKLaboklab(77.92% 0.1444 -0.0973)
OKLCHoklch(77.92% 0.174 326)
XYZxyz(61.0004, 43.5205, 89.1743)
Luminance0.4352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CF2 #8FF28C
analogous
#BC8CF2 #EF8CF2 #F28CC2
triadic
#EF8CF2 #F2EF8C #8CF2EF
tetradic
#EF8CF2 #F2BC8C #8FF28C #8CC2F2
square
#EF8CF2 #F2BC8C #8FF28C #8CC2F2
split-complementary
#EF8CF2 #C2F28C #8CF2BC
monochromatic
#E01EE6 #E755EC #EF8CF2 #F7C3F8 #FBE4FC

Accessibility & contrast

On white

2.16
#EF8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#EF8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CF2
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CF2#FFFFFF#000000##000000
##EF8CF21.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F497B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8cf2;
/* rgb */ color: rgb(239, 140, 242);
/* oklch */ color: oklch(77.9% 0.174 326.0);
Tailwind
colors: {
  custom: {
    50: '#f6b0f6',
    500: '#ef8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cf2;
$custom-light: #f6b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cf2",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 298.235,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77917,
    "c": 0.17411,
    "h": 326
  },
  "luminance": 0.43518
}

Semantic roles & 50–950 ramp

primary
#EF8CF2
secondary
#D8F4D7
accent
#DC0A10
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EF8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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