#F05AF2#F05AF2

#F05AF2 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.8% C 0.249 H 327.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#F05AF2
RGBrgb(240, 90, 242)
HSLhsl(299, 85%, 65%)
HSVhsv(299, 63%, 95%)
CMYKcmyk(0.8%, 62.8%, 0%, 5.1%)
CIE-LABlab(63.55, 75.32, -48.63)
CIE-LCHlch(63.55, 89.66, 327.15°)
OKLaboklab(71.79% 0.2091 -0.1345)
OKLCHoklch(71.79% 0.249 327.3)
XYZxyz(55.6175, 32.2520, 87.2830)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05AF2 #5CF25A
analogous
#A45AF2 #F05AF2 #F25AA8
triadic
#F05AF2 #F2F05A #5AF2F0
tetradic
#F05AF2 #F2A45A #5CF25A #5AA8F2
square
#F05AF2 #F2A45A #5CF25A #5AA8F2
split-complementary
#F05AF2 #A8F25A #5AF2A4
monochromatic
#C00FC2 #EB21EE #F05AF2 #F593F6 #FACBFB

Accessibility & contrast

On white

2.82
#F05AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#F05AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05AF2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05AF2#FFFFFF#000000##000000
##F05AF21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#7DA1EE
Tritanopia (blue-blind)
#F76F9F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f05af2;
/* rgb */ color: rgb(240, 90, 242);
/* oklch */ color: oklch(71.8% 0.249 327.3);
Tailwind
colors: {
  custom: {
    50: '#f993f7',
    500: '#f05af2',
    950: '#000000',
  },
}
SCSS
$custom: #f05af2;
$custom-light: #f993f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f05af2",
  "rgb": {
    "r": 240,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 299.211,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.71794,
    "c": 0.24857,
    "h": 327.3
  },
  "luminance": 0.32248
}

Semantic roles & 50–950 ramp

primary
#F05AF2
secondary
#BBEEBA
accent
#E20407
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F05AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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