#EF8CF5#EF8CF5

#EF8CF5 is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.0% C 0.177 H 325.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#EF8CF5
RGBrgb(239, 140, 245)
HSLhsl(297, 84%, 75%)
HSVhsv(297, 43%, 96%)
CMYKcmyk(2.4%, 42.9%, 0%, 3.9%)
CIE-LABlab(72.03, 52.92, -37.01)
CIE-LCHlch(72.03, 64.58, 325.04°)
OKLaboklab(78.05% 0.145 -0.1014)
OKLCHoklch(78.05% 0.177 325)
XYZxyz(61.4547, 43.7022, 91.5668)
Luminance0.4370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8CF5 #92F58C
analogous
#BA8CF5 #EF8CF5 #F58CC7
triadic
#EF8CF5 #F5EF8C #8CF5EF
tetradic
#EF8CF5 #F5BA8C #92F58C #8CC7F5
square
#EF8CF5 #F5BA8C #92F58C #8CC7F5
split-complementary
#EF8CF5 #C7F58C #8CF5BA
monochromatic
#DF1BEB #E754F0 #EF8CF5 #F7C4FA #FBE3FD

Accessibility & contrast

On white

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

On black

9.74
#EF8CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8CF5
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8CF5#FFFFFF#000000##000000
##EF8CF51.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A9F9
Deuteranopia (green-blind)
#9CB5F2
Tritanopia (blue-blind)
#F397B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ef8cf5;
/* rgb */ color: rgb(239, 140, 245);
/* oklch */ color: oklch(78.0% 0.177 325.0);
Tailwind
colors: {
  custom: {
    50: '#f6b0f8',
    500: '#ef8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #ef8cf5;
$custom-light: #f6b0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8cf5",
  "rgb": {
    "r": 239,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 296.571,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78048,
    "c": 0.17692,
    "h": 325
  },
  "luminance": 0.43699
}

Semantic roles & 50–950 ramp

primary
#EF8CF5
secondary
#D8F4D7
accent
#E00512
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EF8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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