#F07AEA#F07AEA

#F07AEA is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.2% C 0.197 H 329.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#F07AEA
RGBrgb(240, 122, 234)
HSLhsl(303, 80%, 71%)
HSVhsv(303, 49%, 94%)
CMYKcmyk(0%, 49.2%, 2.5%, 5.9%)
CIE-LABlab(68.31, 60.09, -36.75)
CIE-LCHlch(68.31, 70.44, 328.55°)
OKLaboklab(75.16% 0.1689 -0.1005)
OKLCHoklch(75.16% 0.197 329.2)
XYZxyz(57.7453, 38.3882, 82.1940)
Luminance0.3839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AEA #7AF080
analogous
#BB7AF0 #F07AEA #F07AAF
triadic
#F07AEA #EAF07A #7AEAF0
tetradic
#F07AEA #F0BB7A #7AF080 #7AAFF0
square
#F07AEA #F0BB7A #7AF080 #7AAFF0
split-complementary
#F07AEA #AFF07A #7AF0BB
monochromatic
#D718CE #EA43E1 #F07AEA #F6B1F3 #FCE4FB

Accessibility & contrast

On white

2.42
#F07AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#F07AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AEA
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AEA#FFFFFF#000000##000000
##F07AEA1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEE
Deuteranopia (green-blind)
#95ACE7
Tritanopia (blue-blind)
#F785A7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07aea;
/* rgb */ color: rgb(240, 122, 234);
/* oklch */ color: oklch(75.2% 0.197 329.2);
Tailwind
colors: {
  custom: {
    50: '#f7a5f1',
    500: '#f07aea',
    950: '#000000',
  },
}
SCSS
$custom: #f07aea;
$custom-light: #f7a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07aea",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 303.051,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75157,
    "c": 0.19655,
    "h": 329.2
  },
  "luminance": 0.38385
}

Semantic roles & 50–950 ramp

primary
#F07AEA
secondary
#D3F3D5
accent
#DC1409
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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