#F282E4#F282E4

#F282E4 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.2% C 0.180 H 332.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#F282E4
RGBrgb(242, 130, 228)
HSLhsl(308, 81%, 73%)
HSVhsv(308, 46%, 95%)
CMYKcmyk(0%, 46.3%, 5.8%, 5.1%)
CIE-LABlab(69.79, 55.79, -31.13)
CIE-LCHlch(69.79, 63.89, 330.84°)
OKLaboklab(76.23% 0.159 -0.0846)
OKLCHoklch(76.23% 0.18 332)
XYZxyz(58.6038, 40.4474, 78.1041)
Luminance0.4044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F282E4 #82F290
analogous
#C882F2 #F282E4 #F282AC
triadic
#F282E4 #E4F282 #82E4F2
tetradic
#F282E4 #F2C882 #82F290 #82ACF2
square
#F282E4 #F2C882 #82F290 #82ACF2
split-complementary
#F282E4 #ACF282 #82F2C8
monochromatic
#E218C9 #EC4BD8 #F282E4 #F8B9F0 #FCE3F9

Accessibility & contrast

On white

2.31
#F282E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#F282E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F282E4
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F282E4#FFFFFF#000000##000000
##F282E41.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA1E7
Deuteranopia (green-blind)
#9EB0E1
Tritanopia (blue-blind)
#FA8AA9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f282e4;
/* rgb */ color: rgb(242, 130, 228);
/* oklch */ color: oklch(76.2% 0.180 332.0);
Tailwind
colors: {
  custom: {
    50: '#f8aaec',
    500: '#f282e4',
    950: '#000000',
  },
}
SCSS
$custom: #f282e4;
$custom-light: #f8aaec;
$custom-dark: #000000;
JSON
{
  "hex": "#f282e4",
  "rgb": {
    "r": 242,
    "g": 130,
    "b": 228
  },
  "hsl": {
    "h": 307.5,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7623,
    "c": 0.18005,
    "h": 332
  },
  "luminance": 0.40444
}

Semantic roles & 50–950 ramp

primary
#F282E4
secondary
#D7F4DB
accent
#DE2308
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F282E4

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

Preview Lab → · Contrast checker → · Palette generator →

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