#F28AF0#F28AF0

#F28AF0 is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.9% C 0.177 H 327.8°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#F28AF0
RGBrgb(242, 138, 240)
HSLhsl(301, 80%, 75%)
HSVhsv(301, 43%, 95%)
CMYKcmyk(0%, 43%, 0.8%, 5.1%)
CIE-LABlab(71.79, 53.90, -34.62)
CIE-LCHlch(71.79, 64.06, 327.29°)
OKLaboklab(77.88% 0.1501 -0.0945)
OKLCHoklch(77.88% 0.177 327.8)
XYZxyz(61.4336, 43.3486, 87.5524)
Luminance0.4335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28AF0 #8AF28C
analogous
#C08AF2 #F28AF0 #F28ABC
triadic
#F28AF0 #F0F28A #8AF0F2
tetradic
#F28AF0 #F2C08A #8AF28C #8ABCF2
square
#F28AF0 #F2C08A #8AF28C #8ABCF2
split-complementary
#F28AF0 #BCF28A #8AF2C0
monochromatic
#E61CE2 #EC53E9 #F28AF0 #F8C1F7 #FCE3FB

Accessibility & contrast

On white

2.17
#F28AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#F28AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28AF0
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28AF0#FFFFFF#000000##000000
##F28AF01.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F4
Deuteranopia (green-blind)
#9FB5ED
Tritanopia (blue-blind)
#F894B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f28af0;
/* rgb */ color: rgb(242, 138, 240);
/* oklch */ color: oklch(77.9% 0.177 327.8);
Tailwind
colors: {
  custom: {
    50: '#f8aff5',
    500: '#f28af0',
    950: '#000000',
  },
}
SCSS
$custom: #f28af0;
$custom-light: #f8aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#f28af0",
  "rgb": {
    "r": 242,
    "g": 138,
    "b": 240
  },
  "hsl": {
    "h": 301.154,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7788,
    "c": 0.17743,
    "h": 327.8
  },
  "luminance": 0.43345
}

Semantic roles & 50–950 ramp

primary
#F28AF0
secondary
#D7F4D8
accent
#DC0D09
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171117
muted
#858085

Preview Lab

Preview with #F28AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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