#F282EF#F282EF

#F282EF is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.7% C 0.189 H 328.2°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#F282EF
RGBrgb(242, 130, 239)
HSLhsl(302, 81%, 73%)
HSVhsv(302, 46%, 95%)
CMYKcmyk(0%, 46.3%, 1.2%, 5.1%)
CIE-LABlab(70.23, 57.66, -36.49)
CIE-LCHlch(70.23, 68.24, 327.67°)
OKLaboklab(76.71% 0.1611 -0.0998)
OKLCHoklch(76.71% 0.189 328.2)
XYZxyz(60.1796, 41.0778, 86.4036)
Luminance0.4108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F282EF #82F285
analogous
#BD82F2 #F282EF #F282B7
triadic
#F282EF #EFF282 #82EFF2
tetradic
#F282EF #F2BD82 #82F285 #82B7F2
square
#F282EF #F2BD82 #82F285 #82B7F2
split-complementary
#F282EF #B7F282 #82F2BD
monochromatic
#E218DD #EC4BE8 #F282EF #F8B9F6 #FCE3FB

Accessibility & contrast

On white

2.28
#F282EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#F282EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F282EF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F282EF#FFFFFF#000000##000000
##F282EF1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F3
Deuteranopia (green-blind)
#9AB1EC
Tritanopia (blue-blind)
#F98DAE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f282ef;
/* rgb */ color: rgb(242, 130, 239);
/* oklch */ color: oklch(76.7% 0.189 328.2);
Tailwind
colors: {
  custom: {
    50: '#f8aaf4',
    500: '#f282ef',
    950: '#000000',
  },
}
SCSS
$custom: #f282ef;
$custom-light: #f8aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f282ef",
  "rgb": {
    "r": 242,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 301.607,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76705,
    "c": 0.18948,
    "h": 328.2
  },
  "luminance": 0.41075
}

Semantic roles & 50–950 ramp

primary
#F282EF
secondary
#D7F4D8
accent
#DE0E08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F282EF

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

Preview Lab → · Contrast checker → · Palette generator →

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