#F28CFA#F28CFA

#F28CFA is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.6% C 0.183 H 324.5°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#F28CFA
RGBrgb(242, 140, 250)
HSLhsl(296, 92%, 76%)
HSVhsv(296, 44%, 98%)
CMYKcmyk(3.2%, 44%, 0%, 2%)
CIE-LABlab(72.59, 54.69, -38.84)
CIE-LCHlch(72.59, 67.07, 324.62°)
OKLaboklab(78.61% 0.1492 -0.1066)
OKLCHoklch(78.61% 0.183 324.5)
XYZxyz(63.2498, 44.5384, 95.6891)
Luminance0.4454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28CFA #94FA8C
analogous
#BB8CFA #F28CFA #FA8CCB
triadic
#F28CFA #FAF28C #8CFAF2
tetradic
#F28CFA #FABB8C #94FA8C #8CCBFA
square
#F28CFA #FABB8C #94FA8C #8CCBFA
split-complementary
#F28CFA #CBFA8C #8CFABB
monochromatic
#E517F5 #EB51F7 #F28CFA #F9C7FD #FCE2FE

Accessibility & contrast

On white

2.12
#F28CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#F28CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28CFA
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28CFA#FFFFFF#000000##000000
##F28CFA1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#9CB6F7
Tritanopia (blue-blind)
#F698B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f28cfa;
/* rgb */ color: rgb(242, 140, 250);
/* oklch */ color: oklch(78.6% 0.183 324.5);
Tailwind
colors: {
  custom: {
    50: '#f8b0fc',
    500: '#f28cfa',
    950: '#000000',
  },
}
SCSS
$custom: #f28cfa;
$custom-light: #f8b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f28cfa",
  "rgb": {
    "r": 242,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 295.636,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78608,
    "c": 0.18338,
    "h": 324.5
  },
  "luminance": 0.44536
}

Semantic roles & 50–950 ramp

primary
#F28CFA
secondary
#D8F6D5
accent
#E60011
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #F28CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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