#F07AEC#F07AEC

#F07AEC is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.2% C 0.198 H 328.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#F07AEC
RGBrgb(240, 122, 236)
HSLhsl(302, 80%, 71%)
HSVhsv(302, 49%, 94%)
CMYKcmyk(0%, 49.2%, 1.7%, 5.9%)
CIE-LABlab(68.39, 60.43, -37.72)
CIE-LCHlch(68.39, 71.24, 328.03°)
OKLaboklab(75.25% 0.1692 -0.1033)
OKLCHoklch(75.25% 0.198 328.6)
XYZxyz(58.0342, 38.5038, 83.7158)
Luminance0.3850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AEC #7AF07E
analogous
#B97AF0 #F07AEC #F07AB1
triadic
#F07AEC #ECF07A #7AECF0
tetradic
#F07AEC #F0B97A #7AF07E #7AB1F0
square
#F07AEC #F0B97A #7AF07E #7AB1F0
split-complementary
#F07AEC #B1F07A #7AF0B9
monochromatic
#D718D1 #EA43E4 #F07AEC #F6B1F4 #FCE4FB

Accessibility & contrast

On white

2.41
#F07AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#F07AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AEC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AEC#FFFFFF#000000##000000
##F07AEC1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#F786A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07aec;
/* rgb */ color: rgb(240, 122, 236);
/* oklch */ color: oklch(75.2% 0.198 328.6);
Tailwind
colors: {
  custom: {
    50: '#f7a5f2',
    500: '#f07aec',
    950: '#000000',
  },
}
SCSS
$custom: #f07aec;
$custom-light: #f7a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f07aec",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 302.034,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75247,
    "c": 0.19826,
    "h": 328.6
  },
  "luminance": 0.385
}

Semantic roles & 50–950 ramp

primary
#F07AEC
secondary
#D3F3D4
accent
#DC1109
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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