#F07AE2#F07AE2

#F07AE2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.8% C 0.190 H 331.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#F07AE2
RGBrgb(240, 122, 226)
HSLhsl(307, 80%, 71%)
HSVhsv(307, 49%, 94%)
CMYKcmyk(0%, 49.2%, 5.8%, 5.9%)
CIE-LABlab(67.98, 58.75, -32.84)
CIE-LCHlch(67.98, 67.31, 330.79°)
OKLaboklab(74.8% 0.1675 -0.0894)
OKLCHoklch(74.8% 0.19 331.9)
XYZxyz(56.6219, 37.9388, 76.2773)
Luminance0.3794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AE2 #7AF088
analogous
#C37AF0 #F07AE2 #F07AA7
triadic
#F07AE2 #E2F07A #7AE2F0
tetradic
#F07AE2 #F0C37A #7AF088 #7AA7F0
square
#F07AE2 #F0C37A #7AF088 #7AA7F0
split-complementary
#F07AE2 #A7F07A #7AF0C3
monochromatic
#D718C1 #EA43D6 #F07AE2 #F6B1EE #FCE4F9

Accessibility & contrast

On white

2.45
#F07AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#F07AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AE2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AE2#FFFFFF#000000##000000
##F07AE21.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769BE5
Deuteranopia (green-blind)
#98ACDF
Tritanopia (blue-blind)
#F982A4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07ae2;
/* rgb */ color: rgb(240, 122, 226);
/* oklch */ color: oklch(74.8% 0.190 331.9);
Tailwind
colors: {
  custom: {
    50: '#f7a4eb',
    500: '#f07ae2',
    950: '#000000',
  },
}
SCSS
$custom: #f07ae2;
$custom-light: #f7a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ae2",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 307.119,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74804,
    "c": 0.18984,
    "h": 331.9
  },
  "luminance": 0.37935
}

Semantic roles & 50–950 ramp

primary
#F07AE2
secondary
#D3F3D7
accent
#DC2209
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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