#EF8BEC#EF8BEC

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

Color values

HEX#EF8BEC
RGBrgb(239, 139, 236)
HSLhsl(302, 76%, 74%)
HSVhsv(302, 42%, 94%)
CMYKcmyk(0%, 41.8%, 1.3%, 6.3%)
CIE-LABlab(71.47, 51.82, -32.95)
CIE-LCHlch(71.47, 61.41, 327.55°)
OKLaboklab(77.51% 0.1446 -0.0899)
OKLCHoklch(77.51% 0.17 328.1)
XYZxyz(59.9686, 42.8751, 84.4576)
Luminance0.4287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF8BEC #8BEF8E
analogous
#C08BEF #EF8BEC #EF8BBA
triadic
#EF8BEC #ECEF8B #8BECEF
tetradic
#EF8BEC #EFC08B #8BEF8E #8BBAEF
square
#EF8BEC #EFC08B #8BEF8E #8BBAEF
split-complementary
#EF8BEC #BAEF8B #8BEFC0
monochromatic
#E01FDA #E855E3 #EF8BEC #F6C1F5 #FBE4FB

Accessibility & contrast

On white

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

On black

9.57
#EF8BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF8BEC
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF8BEC#FFFFFF#000000##000000
##EF8BEC1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7EF
Deuteranopia (green-blind)
#9FB4E9
Tritanopia (blue-blind)
#F594B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ef8bec;
/* rgb */ color: rgb(239, 139, 236);
/* oklch */ color: oklch(77.5% 0.170 328.1);
Tailwind
colors: {
  custom: {
    50: '#f6aff2',
    500: '#ef8bec',
    950: '#000000',
  },
}
SCSS
$custom: #ef8bec;
$custom-light: #f6aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef8bec",
  "rgb": {
    "r": 239,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 301.8,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77512,
    "c": 0.17025,
    "h": 328.1
  },
  "luminance": 0.42872
}

Semantic roles & 50–950 ramp

primary
#EF8BEC
secondary
#D8F3D9
accent
#D8140E
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EF8BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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