#F28FFE#F28FFE

#F28FFE is a light, vivid purple. Relative luminance 0.457; OKLCH L 79.2% C 0.182 H 323.1°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#F28FFE
RGBrgb(242, 143, 254)
HSLhsl(294, 98%, 78%)
HSVhsv(294, 44%, 100%)
CMYKcmyk(4.7%, 43.7%, 0%, 0.4%)
CIE-LABlab(73.34, 53.92, -39.84)
CIE-LCHlch(73.34, 67.04, 323.54°)
OKLaboklab(79.22% 0.1458 -0.1095)
OKLCHoklch(79.22% 0.182 323.1)
XYZxyz(64.3280, 45.6806, 99.1755)
Luminance0.4568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FFE #9BFE8F
analogous
#BB8FFE #F28FFE #FE8FD2
triadic
#F28FFE #FEF28F #8FFEF2
tetradic
#F28FFE #FEBB8F #9BFE8F #8FD2FE
square
#F28FFE #FEBB8F #9BFE8F #8FD2FE
split-complementary
#F28FFE #D2FE8F #8FFEBB
monochromatic
#E416FD #EB52FD #F28FFE #F9CCFF #FBE1FF

Accessibility & contrast

On white

2.07
#F28FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#F28FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FFE
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FFE#FFFFFF#000000##000000
##F28FFE1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ADFF
Deuteranopia (green-blind)
#9DB8FB
Tritanopia (blue-blind)
#F59CBB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f28ffe;
/* rgb */ color: rgb(242, 143, 254);
/* oklch */ color: oklch(79.2% 0.182 323.1);
Tailwind
colors: {
  custom: {
    50: '#f8b2ff',
    500: '#f28ffe',
    950: '#000000',
  },
}
SCSS
$custom: #f28ffe;
$custom-light: #f8b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ffe",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 293.514,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79222,
    "c": 0.18232,
    "h": 323.1
  },
  "luminance": 0.45678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F28FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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