#F284EA#F284EA

#F284EA is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.8% C 0.182 H 329.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#F284EA
RGBrgb(242, 132, 234)
HSLhsl(304, 81%, 73%)
HSVhsv(304, 45%, 95%)
CMYKcmyk(0%, 45.5%, 3.3%, 5.1%)
CIE-LABlab(70.40, 55.83, -33.48)
CIE-LCHlch(70.40, 65.10, 329.05°)
OKLaboklab(76.77% 0.1574 -0.0912)
OKLCHoklch(76.77% 0.182 329.9)
XYZxyz(59.7198, 41.3236, 82.6566)
Luminance0.4132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F284EA #84F28C
analogous
#C384F2 #F284EA #F284B3
triadic
#F284EA #EAF284 #84EAF2
tetradic
#F284EA #F2C384 #84F28C #84B3F2
square
#F284EA #F2C384 #84F28C #84B3F2
split-complementary
#F284EA #B3F284 #84F2C3
monochromatic
#E418D5 #EC4DE1 #F284EA #F8BBF3 #FCE3FA

Accessibility & contrast

On white

2.27
#F284EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#F284EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F284EA
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F284EA#FFFFFF#000000##000000
##F284EA1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#9DB2E7
Tritanopia (blue-blind)
#F98DAC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f284ea;
/* rgb */ color: rgb(242, 132, 234);
/* oklch */ color: oklch(76.8% 0.182 329.9);
Tailwind
colors: {
  custom: {
    50: '#f8abf1',
    500: '#f284ea',
    950: '#000000',
  },
}
SCSS
$custom: #f284ea;
$custom-light: #f8abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f284ea",
  "rgb": {
    "r": 242,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 304.364,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76766,
    "c": 0.1819,
    "h": 329.9
  },
  "luminance": 0.4132
}

Semantic roles & 50–950 ramp

primary
#F284EA
secondary
#D7F4D9
accent
#DD1808
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F284EA

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

Preview Lab → · Contrast checker → · Palette generator →

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