#F07AEB#F07AEB

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

Color values

HEX#F07AEB
RGBrgb(240, 122, 235)
HSLhsl(303, 80%, 71%)
HSVhsv(303, 49%, 94%)
CMYKcmyk(0%, 49.2%, 2.1%, 5.9%)
CIE-LABlab(68.35, 60.26, -37.24)
CIE-LCHlch(68.35, 70.84, 328.29°)
OKLaboklab(75.2% 0.1691 -0.1019)
OKLCHoklch(75.2% 0.197 328.9)
XYZxyz(57.8894, 38.4458, 82.9528)
Luminance0.3844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AEB #7AF07F
analogous
#BA7AF0 #F07AEB #F07AB0
triadic
#F07AEB #EBF07A #7AEBF0
tetradic
#F07AEB #F0BA7A #7AF07F #7AB0F0
square
#F07AEB #F0BA7A #7AF07F #7AB0F0
split-complementary
#F07AEB #B0F07A #7AF0BA
monochromatic
#D718CF #EA43E3 #F07AEB #F6B1F3 #FCE4FB

Accessibility & contrast

On white

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

On black

8.69
#F07AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AEB
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AEB#FFFFFF#000000##000000
##F07AEB1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#94ACE7
Tritanopia (blue-blind)
#F785A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07aeb;
/* rgb */ color: rgb(240, 122, 235);
/* oklch */ color: oklch(75.2% 0.197 328.9);
Tailwind
colors: {
  custom: {
    50: '#f7a5f1',
    500: '#f07aeb',
    950: '#000000',
  },
}
SCSS
$custom: #f07aeb;
$custom-light: #f7a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07aeb",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 302.542,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75202,
    "c": 0.19741,
    "h": 328.9
  },
  "luminance": 0.38442
}

Semantic roles & 50–950 ramp

primary
#F07AEB
secondary
#D3F3D5
accent
#DC1209
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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