#F28EFA#F28EFA

#F28EFA is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.9% C 0.180 H 324.4°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#F28EFA
RGBrgb(242, 142, 250)
HSLhsl(296, 92%, 77%)
HSVhsv(296, 43%, 98%)
CMYKcmyk(3.2%, 43.2%, 0%, 2%)
CIE-LABlab(72.98, 53.69, -38.23)
CIE-LCHlch(72.98, 65.91, 324.55°)
OKLaboklab(78.9% 0.1465 -0.1049)
OKLCHoklch(78.9% 0.18 324.4)
XYZxyz(63.5447, 45.1282, 95.7874)
Luminance0.4512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F28EFA #96FA8E
analogous
#BC8EFA #F28EFA #FA8ECC
triadic
#F28EFA #FAF28E #8EFAF2
tetradic
#F28EFA #FABC8E #96FA8E #8ECCFA
square
#F28EFA #FABC8E #96FA8E #8ECCFA
split-complementary
#F28EFA #CCFA8E #8EFABC
monochromatic
#E519F5 #EB53F7 #F28EFA #F9C9FD #FCE2FE

Accessibility & contrast

On white

2.09
#F28EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#F28EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F28EFA
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F28EFA#FFFFFF#000000##000000
##F28EFA1.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#9EB7F7
Tritanopia (blue-blind)
#F69AB8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f28efa;
/* rgb */ color: rgb(242, 142, 250);
/* oklch */ color: oklch(78.9% 0.180 324.4);
Tailwind
colors: {
  custom: {
    50: '#f8b1fc',
    500: '#f28efa',
    950: '#000000',
  },
}
SCSS
$custom: #f28efa;
$custom-light: #f8b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f28efa",
  "rgb": {
    "r": 242,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 295.556,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78898,
    "c": 0.18013,
    "h": 324.4
  },
  "luminance": 0.45125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F28EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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