#F28EF3#F28EF3

#F28EF3 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.6% C 0.174 H 326.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#F28EF3
RGBrgb(242, 142, 243)
HSLhsl(299, 81%, 75%)
HSVhsv(299, 42%, 95%)
CMYKcmyk(0.4%, 41.6%, 0%, 4.7%)
CIE-LABlab(72.69, 52.43, -34.86)
CIE-LCHlch(72.69, 62.96, 326.38°)
OKLaboklab(78.59% 0.1451 -0.0953)
OKLCHoklch(78.59% 0.174 326.7)
XYZxyz(62.4674, 44.6973, 90.1137)
Luminance0.4469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EF3 #8FF38E
analogous
#BF8EF3 #F28EF3 #F38EC1
triadic
#F28EF3 #F3F28E #8EF3F2
tetradic
#F28EF3 #F3BF8E #8FF38E #8EC1F3
square
#F28EF3 #F3BF8E #8FF38E #8EC1F3
split-complementary
#F28EF3 #C1F38E #8EF3BF
monochromatic
#E51FE7 #EC57ED #F28EF3 #F8C5F9 #FCE3FC

Accessibility & contrast

On white

2.11
#F28EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#F28EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EF3
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EF3#FFFFFF#000000##000000
##F28EF31.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AAF7
Deuteranopia (green-blind)
#A1B7F0
Tritanopia (blue-blind)
#F798B5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28ef3;
/* rgb */ color: rgb(242, 142, 243);
/* oklch */ color: oklch(78.6% 0.174 326.7);
Tailwind
colors: {
  custom: {
    50: '#f8b1f7',
    500: '#f28ef3',
    950: '#000000',
  },
}
SCSS
$custom: #f28ef3;
$custom-light: #f8b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ef3",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 299.406,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78593,
    "c": 0.17358,
    "h": 326.7
  },
  "luminance": 0.44694
}

Semantic roles & 50–950 ramp

primary
#F28EF3
secondary
#D7F4D7
accent
#DD080A
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #F28EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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