#F084E2#F084E2

#F084E2 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.2% C 0.174 H 332.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#F084E2
RGBrgb(240, 132, 226)
HSLhsl(308, 78%, 73%)
HSVhsv(308, 45%, 94%)
CMYKcmyk(0%, 45%, 5.8%, 5.9%)
CIE-LABlab(69.84, 53.89, -29.96)
CIE-LCHlch(69.84, 61.66, 330.93°)
OKLaboklab(76.19% 0.1535 -0.0813)
OKLCHoklch(76.19% 0.174 332.1)
XYZxyz(57.9135, 40.5221, 76.7079)
Luminance0.4052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F084E2 #84F092
analogous
#C884F0 #F084E2 #F084AC
triadic
#F084E2 #E2F084 #84E2F0
tetradic
#F084E2 #F0C884 #84F092 #84ACF0
square
#F084E2 #F0C884 #84F092 #84ACF0
split-complementary
#F084E2 #ACF084 #84F0C8
monochromatic
#DE1BC5 #E94DD5 #F084E2 #F7BBEF #FCE4F9

Accessibility & contrast

On white

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

On black

9.10
#F084E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F084E2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F084E2#FFFFFF#000000##000000
##F084E21.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A1E5
Deuteranopia (green-blind)
#9FB0DF
Tritanopia (blue-blind)
#F88BA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f084e2;
/* rgb */ color: rgb(240, 132, 226);
/* oklch */ color: oklch(76.2% 0.174 332.1);
Tailwind
colors: {
  custom: {
    50: '#f7abeb',
    500: '#f084e2',
    950: '#000000',
  },
}
SCSS
$custom: #f084e2;
$custom-light: #f7abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f084e2",
  "rgb": {
    "r": 240,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 307.778,
    "s": 78.261,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76191,
    "c": 0.17373,
    "h": 332.1
  },
  "luminance": 0.40519
}

Semantic roles & 50–950 ramp

primary
#F084E2
secondary
#D8F3DB
accent
#DB260B
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F084E2

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

Preview Lab → · Contrast checker → · Palette generator →

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