#F28AEA#F28AEA

#F28AEA is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.6% C 0.172 H 329.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#F28AEA
RGBrgb(242, 138, 234)
HSLhsl(305, 80%, 75%)
HSVhsv(305, 43%, 95%)
CMYKcmyk(0%, 43%, 3.3%, 5.1%)
CIE-LABlab(71.55, 52.86, -31.70)
CIE-LCHlch(71.55, 61.63, 329.05°)
OKLaboklab(77.63% 0.1489 -0.0862)
OKLCHoklch(77.63% 0.172 329.9)
XYZxyz(60.5570, 42.9979, 82.9357)
Luminance0.4299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28AEA #8AF292
analogous
#C68AF2 #F28AEA #F28AB6
triadic
#F28AEA #EAF28A #8AEAF2
tetradic
#F28AEA #F2C68A #8AF292 #8AB6F2
square
#F28AEA #F2C68A #8AF292 #8AB6F2
split-complementary
#F28AEA #B6F28A #8AF2C6
monochromatic
#E61CD6 #EC53E0 #F28AEA #F8C1F4 #FCE3FA

Accessibility & contrast

On white

2.19
#F28AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#F28AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28AEA
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28AEA#FFFFFF#000000##000000
##F28AEA1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A6ED
Deuteranopia (green-blind)
#A1B4E7
Tritanopia (blue-blind)
#F992AF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f28aea;
/* rgb */ color: rgb(242, 138, 234);
/* oklch */ color: oklch(77.6% 0.172 329.9);
Tailwind
colors: {
  custom: {
    50: '#f8aff1',
    500: '#f28aea',
    950: '#000000',
  },
}
SCSS
$custom: #f28aea;
$custom-light: #f8aff1;
$custom-dark: #000000;
JSON
{
  "hex": "#f28aea",
  "rgb": {
    "r": 242,
    "g": 138,
    "b": 234
  },
  "hsl": {
    "h": 304.615,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77625,
    "c": 0.17209,
    "h": 329.9
  },
  "luminance": 0.42995
}

Semantic roles & 50–950 ramp

primary
#F28AEA
secondary
#D7F4D9
accent
#DC1909
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171116
muted
#858084

Preview Lab

Preview with #F28AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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