#F284EF#F284EF

#F284EF is a light, vivid purple. Relative luminance 0.416; OKLCH L 77.0% C 0.186 H 328.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#F284EF
RGBrgb(242, 132, 239)
HSLhsl(302, 81%, 73%)
HSVhsv(302, 45%, 95%)
CMYKcmyk(0%, 45.5%, 1.2%, 5.1%)
CIE-LABlab(70.60, 56.69, -35.91)
CIE-LCHlch(70.60, 67.10, 327.65°)
OKLaboklab(76.98% 0.1583 -0.0982)
OKLCHoklch(76.98% 0.186 328.2)
XYZxyz(60.4483, 41.6150, 86.4931)
Luminance0.4161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F284EF #84F287
analogous
#BE84F2 #F284EF #F284B8
triadic
#F284EF #EFF284 #84EFF2
tetradic
#F284EF #F2BE84 #84F287 #84B8F2
square
#F284EF #F2BE84 #84F287 #84B8F2
split-complementary
#F284EF #B8F284 #84F2BE
monochromatic
#E418DE #EC4DE8 #F284EF #F8BBF6 #FCE3FB

Accessibility & contrast

On white

2.25
#F284EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#F284EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F284EF
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F284EF#FFFFFF#000000##000000
##F284EF1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F3
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#F88EAF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f284ef;
/* rgb */ color: rgb(242, 132, 239);
/* oklch */ color: oklch(77.0% 0.186 328.2);
Tailwind
colors: {
  custom: {
    50: '#f8abf4',
    500: '#f284ef',
    950: '#000000',
  },
}
SCSS
$custom: #f284ef;
$custom-light: #f8abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f284ef",
  "rgb": {
    "r": 242,
    "g": 132,
    "b": 239
  },
  "hsl": {
    "h": 301.636,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76983,
    "c": 0.18628,
    "h": 328.2
  },
  "luminance": 0.41612
}

Semantic roles & 50–950 ramp

primary
#F284EF
secondary
#D7F4D8
accent
#DD0E08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F284EF

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

Preview Lab → · Contrast checker → · Palette generator →

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