#F07AF2#F07AF2

#F07AF2 is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.5% C 0.203 H 326.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#F07AF2
RGBrgb(240, 122, 242)
HSLhsl(299, 82%, 71%)
HSVhsv(299, 50%, 95%)
CMYKcmyk(0.8%, 49.6%, 0%, 5.1%)
CIE-LABlab(68.65, 61.47, -40.62)
CIE-LCHlch(68.65, 73.68, 326.54°)
OKLaboklab(75.52% 0.1701 -0.1116)
OKLCHoklch(75.52% 0.203 326.7)
XYZxyz(58.9206, 38.8583, 88.3841)
Luminance0.3886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AF2 #7CF27A
analogous
#B47AF2 #F07AF2 #F27AB8
triadic
#F07AF2 #F2F07A #7AF2F0
tetradic
#F07AF2 #F2B47A #7CF27A #7AB8F2
square
#F07AF2 #F2B47A #7CF27A #7AB8F2
split-complementary
#F07AF2 #B8F27A #7AF2B4
monochromatic
#D916DC #EA42ED #F07AF2 #F6B2F7 #FCE3FC

Accessibility & contrast

On white

2.39
#F07AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#F07AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AF2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AF2#FFFFFF#000000##000000
##F07AF21.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#91ADEE
Tritanopia (blue-blind)
#F687AB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07af2;
/* rgb */ color: rgb(240, 122, 242);
/* oklch */ color: oklch(75.5% 0.203 326.7);
Tailwind
colors: {
  custom: {
    50: '#f7a5f6',
    500: '#f07af2',
    950: '#000000',
  },
}
SCSS
$custom: #f07af2;
$custom-light: #f7a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07af2",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 299,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75522,
    "c": 0.20347,
    "h": 326.7
  },
  "luminance": 0.38855
}

Semantic roles & 50–950 ramp

primary
#F07AF2
secondary
#D5F3D4
accent
#DF070B
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F07AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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