#FE8CF2#FE8CF2

#FE8CF2 is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.6% C 0.184 H 331.1°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#FE8CF2
RGBrgb(254, 140, 242)
HSLhsl(306, 98%, 77%)
HSVhsv(306, 45%, 100%)
CMYKcmyk(0%, 44.9%, 4.7%, 0.4%)
CIE-LABlab(73.70, 56.74, -32.64)
CIE-LCHlch(73.70, 65.45, 330.09°)
OKLaboklab(79.64% 0.1609 -0.0887)
OKLCHoklch(79.64% 0.184 331.1)
XYZxyz(66.2776, 46.2416, 89.4217)
Luminance0.4624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE8CF2 #8CFE98
analogous
#D18CFE #FE8CF2 #FE8CB9
triadic
#FE8CF2 #F2FE8C #8CF2FE
tetradic
#FE8CF2 #FED18C #8CFE98 #8CB9FE
square
#FE8CF2 #FED18C #8CFE98 #8CB9FE
split-complementary
#FE8CF2 #B9FE8C #8CFED1
monochromatic
#FD13E4 #FD4FEB #FE8CF2 #FFC9F9 #FFE1FC

Accessibility & contrast

On white

2.05
#FE8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#FE8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE8CF2
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE8CF2#FFFFFF#000000##000000
##FE8CF21.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF6
Deuteranopia (green-blind)
#A7BBEF
Tritanopia (blue-blind)
#FF94B4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fe8cf2;
/* rgb */ color: rgb(254, 140, 242);
/* oklch */ color: oklch(79.6% 0.184 331.1);
Tailwind
colors: {
  custom: {
    50: '#ffb1f6',
    500: '#fe8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #fe8cf2;
$custom-light: #ffb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fe8cf2",
  "rgb": {
    "r": 254,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 306.316,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7964,
    "c": 0.18375,
    "h": 331.1
  },
  "luminance": 0.46238
}

Semantic roles & 50–950 ramp

primary
#FE8CF2
secondary
#D4F7D8
accent
#E61800
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FE8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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