#F284EB#F284EB

#F284EB is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.8% C 0.183 H 329.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#F284EB
RGBrgb(242, 132, 235)
HSLhsl(304, 81%, 73%)
HSVhsv(304, 45%, 95%)
CMYKcmyk(0%, 45.5%, 2.9%, 5.1%)
CIE-LABlab(70.44, 56.00, -33.96)
CIE-LCHlch(70.44, 65.49, 328.76°)
OKLaboklab(76.81% 0.1576 -0.0926)
OKLCHoklch(76.81% 0.183 329.5)
XYZxyz(59.8639, 41.3812, 83.4153)
Luminance0.4138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F284EB #84F28B
analogous
#C284F2 #F284EB #F284B4
triadic
#F284EB #EBF284 #84EBF2
tetradic
#F284EB #F2C284 #84F28B #84B4F2
square
#F284EB #F2C284 #84F28B #84B4F2
split-complementary
#F284EB #B4F284 #84F2C2
monochromatic
#E418D7 #EC4DE2 #F284EB #F8BBF4 #FCE3FB

Accessibility & contrast

On white

2.26
#F284EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#F284EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F284EB
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F284EB#FFFFFF#000000##000000
##F284EB1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#F98DAD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f284eb;
/* rgb */ color: rgb(242, 132, 235);
/* oklch */ color: oklch(76.8% 0.183 329.5);
Tailwind
colors: {
  custom: {
    50: '#f8abf1',
    500: '#f284eb',
    950: '#000000',
  },
}
SCSS
$custom: #f284eb;
$custom-light: #f8abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f284eb",
  "rgb": {
    "r": 242,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 303.818,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76809,
    "c": 0.18278,
    "h": 329.5
  },
  "luminance": 0.41378
}

Semantic roles & 50–950 ramp

primary
#F284EB
secondary
#D7F4D9
accent
#DD1608
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F284EB

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

Preview Lab → · Contrast checker → · Palette generator →

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