#F789EC#F789EC

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

Color values

HEX#F789EC
RGBrgb(247, 137, 236)
HSLhsl(306, 87%, 75%)
HSVhsv(306, 45%, 97%)
CMYKcmyk(0%, 44.5%, 4.5%, 3.1%)
CIE-LABlab(72.04, 55.16, -31.99)
CIE-LCHlch(72.04, 63.76, 329.89°)
OKLaboklab(78.15% 0.1562 -0.087)
OKLCHoklch(78.15% 0.179 330.9)
XYZxyz(62.4432, 43.7251, 84.4914)
Luminance0.4372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F789EC #89F794
analogous
#CB89F7 #F789EC #F789B5
triadic
#F789EC #ECF789 #89ECF7
tetradic
#F789EC #F7CB89 #89F794 #89B5F7
square
#F789EC #F7CB89 #89F794 #89B5F7
split-complementary
#F789EC #B5F789 #89F7CB
monochromatic
#EF16DA #F350E3 #F789EC #FBC2F5 #FDE2FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F789EC#FFFFFF#000000##000000
##F789EC1.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)
#85A7EF
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#FF91B0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f789ec;
/* rgb */ color: rgb(247, 137, 236);
/* oklch */ color: oklch(78.1% 0.179 330.9);
Tailwind
colors: {
  custom: {
    50: '#fcaef2',
    500: '#f789ec',
    950: '#000000',
  },
}
SCSS
$custom: #f789ec;
$custom-light: #fcaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#f789ec",
  "rgb": {
    "r": 247,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 306,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78146,
    "c": 0.17882,
    "h": 330.9
  },
  "luminance": 0.43722
}

Semantic roles & 50–950 ramp

primary
#F789EC
secondary
#D6F5D9
accent
#E41802
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181117
muted
#868085

Preview Lab

Preview with #F789EC

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

Preview Lab → · Contrast checker → · Palette generator →

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