#F28CE3#F28CE3

#F28CE3 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.6% C 0.163 H 332.6°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#F28CE3
RGBrgb(242, 140, 227)
HSLhsl(309, 80%, 75%)
HSVhsv(309, 42%, 95%)
CMYKcmyk(0%, 42.1%, 6.2%, 5.1%)
CIE-LABlab(71.68, 50.66, -27.66)
CIE-LCHlch(71.68, 57.72, 331.36°)
OKLaboklab(77.63% 0.1445 -0.0749)
OKLCHoklch(77.63% 0.163 332.6)
XYZxyz(59.8607, 43.1828, 77.8402)
Luminance0.4318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CE3 #8CF29B
analogous
#CE8CF2 #F28CE3 #F28CB0
triadic
#F28CE3 #E3F28C #8CE3F2
tetradic
#F28CE3 #F2CE8C #8CF29B #8CB0F2
square
#F28CE3 #F2CE8C #8CF29B #8CB0F2
split-complementary
#F28CE3 #B0F28C #8CF2CE
monochromatic
#E61EC8 #EC55D6 #F28CE3 #F8C3F0 #FCE4F8

Accessibility & contrast

On white

2.18
#F28CE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#F28CE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CE3
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CE3#FFFFFF#000000##000000
##F28CE31.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA7E6
Deuteranopia (green-blind)
#A5B5E0
Tritanopia (blue-blind)
#FA92AD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f28ce3;
/* rgb */ color: rgb(242, 140, 227);
/* oklch */ color: oklch(77.6% 0.163 332.6);
Tailwind
colors: {
  custom: {
    50: '#f8b0ec',
    500: '#f28ce3',
    950: '#000000',
  },
}
SCSS
$custom: #f28ce3;
$custom-light: #f8b0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f28ce3",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 227
  },
  "hsl": {
    "h": 308.824,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77631,
    "c": 0.16275,
    "h": 332.6
  },
  "luminance": 0.43179
}

Semantic roles & 50–950 ramp

primary
#F28CE3
secondary
#D7F4DB
accent
#DC280A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #F28CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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