#F082E4#F082E4

#F082E4 is a light, vivid purple. Relative luminance 0.401; OKLCH L 76.0% C 0.179 H 331.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#F082E4
RGBrgb(240, 130, 228)
HSLhsl(307, 79%, 73%)
HSVhsv(307, 46%, 94%)
CMYKcmyk(0%, 45.8%, 5%, 5.9%)
CIE-LABlab(69.54, 55.21, -31.53)
CIE-LCHlch(69.54, 63.58, 330.27°)
OKLaboklab(75.99% 0.1568 -0.0857)
OKLCHoklch(75.99% 0.179 331.3)
XYZxyz(57.9209, 40.0953, 78.0721)
Luminance0.4009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F082E4 #82F08E
analogous
#C582F0 #F082E4 #F082AD
triadic
#F082E4 #E4F082 #82E4F0
tetradic
#F082E4 #F0C582 #82F08E #82ADF0
square
#F082E4 #F0C582 #82F08E #82ADF0
split-complementary
#F082E4 #ADF082 #82F0C5
monochromatic
#DD1BC8 #E94BD8 #F082E4 #F7B9F0 #FCE4F9

Accessibility & contrast

On white

2.33
#F082E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#F082E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F082E4
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F082E4#FFFFFF#000000##000000
##F082E41.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E7
Deuteranopia (green-blind)
#9DAFE1
Tritanopia (blue-blind)
#F88AA9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f082e4;
/* rgb */ color: rgb(240, 130, 228);
/* oklch */ color: oklch(76.0% 0.179 331.3);
Tailwind
colors: {
  custom: {
    50: '#f7a9ec',
    500: '#f082e4',
    950: '#000000',
  },
}
SCSS
$custom: #f082e4;
$custom-light: #f7a9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f082e4",
  "rgb": {
    "r": 240,
    "g": 130,
    "b": 228
  },
  "hsl": {
    "h": 306.545,
    "s": 78.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75991,
    "c": 0.17868,
    "h": 331.3
  },
  "luminance": 0.40092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F082E4

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

Preview Lab → · Contrast checker → · Palette generator →

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