#F284FA#F284FA

#F284FA is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.5% C 0.196 H 324.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#F284FA
RGBrgb(242, 132, 250)
HSLhsl(296, 92%, 75%)
HSVhsv(296, 47%, 98%)
CMYKcmyk(3.2%, 47.2%, 0%, 2%)
CIE-LABlab(71.07, 58.63, -41.21)
CIE-LCHlch(71.07, 71.66, 324.90°)
OKLaboklab(77.48% 0.1602 -0.1133)
OKLCHoklch(77.48% 0.196 324.7)
XYZxyz(62.1230, 42.2849, 95.3135)
Luminance0.4228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F284FA #8CFA84
analogous
#B784FA #F284FA #FA84C7
triadic
#F284FA #FAF284 #84FAF2
tetradic
#F284FA #FAB784 #8CFA84 #84C7FA
square
#F284FA #FAB784 #8CFA84 #84C7FA
split-complementary
#F284FA #C7FA84 #84FAB7
monochromatic
#E60EF5 #EC49F8 #F284FA #F8BFFC #FCE2FE

Accessibility & contrast

On white

2.22
#F284FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#F284FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F284FA
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F284FA#FFFFFF#000000##000000
##F284FA1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#96B3F6
Tritanopia (blue-blind)
#F792B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f284fa;
/* rgb */ color: rgb(242, 132, 250);
/* oklch */ color: oklch(77.5% 0.196 324.7);
Tailwind
colors: {
  custom: {
    50: '#f8abfc',
    500: '#f284fa',
    950: '#000000',
  },
}
SCSS
$custom: #f284fa;
$custom-light: #f8abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#f284fa",
  "rgb": {
    "r": 242,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 295.932,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77478,
    "c": 0.1962,
    "h": 324.7
  },
  "luminance": 0.42282
}

Semantic roles & 50–950 ramp

primary
#F284FA
secondary
#D7F6D5
accent
#E60010
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F284FA

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

Preview Lab → · Contrast checker → · Palette generator →

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