#EF8CF1#EF8CF1

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

Color values

HEX#EF8CF1
RGBrgb(239, 140, 241)
HSLhsl(299, 78%, 75%)
HSVhsv(299, 42%, 95%)
CMYKcmyk(0.8%, 41.9%, 0%, 5.5%)
CIE-LABlab(71.87, 52.20, -35.07)
CIE-LCHlch(71.87, 62.89, 326.10°)
OKLaboklab(77.87% 0.1442 -0.0959)
OKLCHoklch(77.87% 0.173 326.4)
XYZxyz(60.8506, 43.4606, 88.3855)
Luminance0.4346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CF1 #8EF18C
analogous
#BD8CF1 #EF8CF1 #F18CC1
triadic
#EF8CF1 #F1EF8C #8CF1EF
tetradic
#EF8CF1 #F1BD8C #8EF18C #8CC1F1
square
#EF8CF1 #F1BD8C #8EF18C #8CC1F1
split-complementary
#EF8CF1 #C1F18C #8CF1BD
monochromatic
#E01FE4 #E755EA #EF8CF1 #F7C3F8 #FBE4FC

Accessibility & contrast

On white

2.17
#EF8CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#EF8CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CF1
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CF1#FFFFFF#000000##000000
##EF8CF11.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#9EB5EE
Tritanopia (blue-blind)
#F496B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ef8cf1;
/* rgb */ color: rgb(239, 140, 241);
/* oklch */ color: oklch(77.9% 0.173 326.4);
Tailwind
colors: {
  custom: {
    50: '#f6b0f6',
    500: '#ef8cf1',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cf1;
$custom-light: #f6b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cf1",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 298.812,
    "s": 78.295,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77874,
    "c": 0.17318,
    "h": 326.4
  },
  "luminance": 0.43458
}

Semantic roles & 50–950 ramp

primary
#EF8CF1
secondary
#D8F3D8
accent
#DB0B0F
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EF8CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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