#F28EFE#F28EFE

#F28EFE is a light, vivid purple. Relative luminance 0.454; OKLCH L 79.1% C 0.184 H 323.1°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#F28EFE
RGBrgb(242, 142, 254)
HSLhsl(294, 98%, 78%)
HSVhsv(294, 44%, 100%)
CMYKcmyk(4.7%, 44.1%, 0%, 0.4%)
CIE-LABlab(73.14, 54.42, -40.14)
CIE-LCHlch(73.14, 67.62, 323.58°)
OKLaboklab(79.08% 0.1472 -0.1103)
OKLCHoklch(79.08% 0.184 323.1)
XYZxyz(64.1785, 45.3817, 99.1257)
Luminance0.4538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EFE #9AFE8E
analogous
#BA8EFE #F28EFE #FE8ED2
triadic
#F28EFE #FEF28E #8EFEF2
tetradic
#F28EFE #FEBA8E #9AFE8E #8ED2FE
square
#F28EFE #FEBA8E #9AFE8E #8ED2FE
split-complementary
#F28EFE #D2FE8E #8EFEBA
monochromatic
#E415FD #EB51FD #F28EFE #F9CBFF #FCE1FF

Accessibility & contrast

On white

2.08
#F28EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#F28EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EFE
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EFE#FFFFFF#000000##000000
##F28EFE1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#9CB8FB
Tritanopia (blue-blind)
#F59BBA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f28efe;
/* rgb */ color: rgb(242, 142, 254);
/* oklch */ color: oklch(79.1% 0.184 323.1);
Tailwind
colors: {
  custom: {
    50: '#f8b1ff',
    500: '#f28efe',
    950: '#000000',
  },
}
SCSS
$custom: #f28efe;
$custom-light: #f8b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f28efe",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 293.571,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79077,
    "c": 0.18394,
    "h": 323.1
  },
  "luminance": 0.45379
}

Semantic roles & 50–950 ramp

primary
#F28EFE
secondary
#D8F7D4
accent
#E60019
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #F28EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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