#F28EE3#F28EE3

#F28EE3 is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.9% C 0.159 H 332.7°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#F28EE3
RGBrgb(242, 142, 227)
HSLhsl(309, 79%, 75%)
HSVhsv(309, 41%, 95%)
CMYKcmyk(0%, 41.3%, 6.2%, 5.1%)
CIE-LABlab(72.08, 49.65, -27.05)
CIE-LCHlch(72.08, 56.54, 331.42°)
OKLaboklab(77.93% 0.1416 -0.0732)
OKLCHoklch(77.93% 0.159 332.7)
XYZxyz(60.1556, 43.7726, 77.9385)
Luminance0.4377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EE3 #8EF29D
analogous
#CF8EF2 #F28EE3 #F28EB1
triadic
#F28EE3 #E3F28E #8EE3F2
tetradic
#F28EE3 #F2CF8E #8EF29D #8EB1F2
square
#F28EE3 #F2CF8E #8EF29D #8EB1F2
split-complementary
#F28EE3 #B1F28E #8EF2CF
monochromatic
#E520C8 #EC57D5 #F28EE3 #F8C5F1 #FCE4F8

Accessibility & contrast

On white

2.15
#F28EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#F28EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EE3
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EE3#FFFFFF#000000##000000
##F28EE31.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA8E6
Deuteranopia (green-blind)
#A6B6E0
Tritanopia (blue-blind)
#FA94AE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f28ee3;
/* rgb */ color: rgb(242, 142, 227);
/* oklch */ color: oklch(77.9% 0.159 332.7);
Tailwind
colors: {
  custom: {
    50: '#f8b1ec',
    500: '#f28ee3',
    950: '#000000',
  },
}
SCSS
$custom: #f28ee3;
$custom-light: #f8b1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ee3",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 227
  },
  "hsl": {
    "h": 309,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77929,
    "c": 0.15941,
    "h": 332.7
  },
  "luminance": 0.43769
}

Semantic roles & 50–950 ramp

primary
#F28EE3
secondary
#D7F4DC
accent
#DC290A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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