#F28FEA#F28FEA

#F28FEA is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.4% C 0.164 H 330.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#F28FEA
RGBrgb(242, 143, 234)
HSLhsl(305, 79%, 75%)
HSVhsv(305, 41%, 95%)
CMYKcmyk(0%, 40.9%, 3.3%, 5.1%)
CIE-LABlab(72.54, 50.34, -30.18)
CIE-LCHlch(72.54, 58.69, 329.06°)
OKLaboklab(78.36% 0.1418 -0.082)
OKLCHoklch(78.36% 0.164 330)
XYZxyz(61.2909, 44.4658, 83.1803)
Luminance0.4446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28FEA #8FF297
analogous
#C88FF2 #F28FEA #F28FB9
triadic
#F28FEA #EAF28F #8FEAF2
tetradic
#F28FEA #F2C88F #8FF297 #8FB9F2
square
#F28FEA #F2C88F #8FF297 #8FB9F2
split-complementary
#F28FEA #B9F28F #8FF2C8
monochromatic
#E521D5 #EC58E0 #F28FEA #F8C6F4 #FCE4FA

Accessibility & contrast

On white

2.12
#F28FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#F28FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28FEA
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28FEA#FFFFFF#000000##000000
##F28FEA1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA9ED
Deuteranopia (green-blind)
#A5B7E7
Tritanopia (blue-blind)
#F997B2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28fea;
/* rgb */ color: rgb(242, 143, 234);
/* oklch */ color: oklch(78.4% 0.164 330.0);
Tailwind
colors: {
  custom: {
    50: '#f8b2f1',
    500: '#f28fea',
    950: '#000000',
  },
}
SCSS
$custom: #f28fea;
$custom-light: #f8b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28fea",
  "rgb": {
    "r": 242,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 304.848,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78362,
    "c": 0.16379,
    "h": 330
  },
  "luminance": 0.44463
}

Semantic roles & 50–950 ramp

primary
#F28FEA
secondary
#D7F4DA
accent
#DB1B0A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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