#F082F2#F082F2

#F082F2 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.6% C 0.191 H 326.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#F082F2
RGBrgb(240, 130, 242)
HSLhsl(299, 81%, 73%)
HSVhsv(299, 46%, 95%)
CMYKcmyk(0.8%, 46.3%, 0%, 5.1%)
CIE-LABlab(70.11, 57.62, -38.34)
CIE-LCHlch(70.11, 69.22, 326.36°)
OKLaboklab(76.6% 0.1594 -0.1051)
OKLCHoklch(76.6% 0.191 326.6)
XYZxyz(59.9437, 40.9044, 88.7251)
Luminance0.4090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F082F2 #84F282
analogous
#B882F2 #F082F2 #F282BC
triadic
#F082F2 #F2F082 #82F2F0
tetradic
#F082F2 #F2B882 #84F282 #82BCF2
square
#F082F2 #F2B882 #84F282 #82BCF2
split-complementary
#F082F2 #BCF282 #82F2B8
monochromatic
#DE18E2 #E94BEC #F082F2 #F7B9F8 #FCE3FC

Accessibility & contrast

On white

2.29
#F082F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#F082F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F082F2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F082F2#FFFFFF#000000##000000
##F082F21.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#97B0EF
Tritanopia (blue-blind)
#F68EAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f082f2;
/* rgb */ color: rgb(240, 130, 242);
/* oklch */ color: oklch(76.6% 0.191 326.6);
Tailwind
colors: {
  custom: {
    50: '#f7aaf6',
    500: '#f082f2',
    950: '#000000',
  },
}
SCSS
$custom: #f082f2;
$custom-light: #f7aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#f082f2",
  "rgb": {
    "r": 240,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 298.929,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76604,
    "c": 0.19093,
    "h": 326.6
  },
  "luminance": 0.40901
}

Semantic roles & 50–950 ramp

primary
#F082F2
secondary
#D8F4D7
accent
#DE080C
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F082F2

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

Preview Lab → · Contrast checker → · Palette generator →

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