#F07AFA#F07AFA

#F07AFA is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.9% C 0.211 H 324.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#F07AFA
RGBrgb(240, 122, 250)
HSLhsl(295, 93%, 73%)
HSVhsv(295, 51%, 98%)
CMYKcmyk(4%, 51.2%, 0%, 2%)
CIE-LABlab(69.00, 62.88, -44.45)
CIE-LCHlch(69.00, 77.00, 324.74°)
OKLaboklab(75.9% 0.1712 -0.1226)
OKLCHoklch(75.9% 0.211 324.4)
XYZxyz(60.1485, 39.3495, 94.8509)
Luminance0.3935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07AFA #84FA7A
analogous
#B07AFA #F07AFA #FA7AC4
triadic
#F07AFA #FAF07A #7AFAF0
tetradic
#F07AFA #FAB07A #84FA7A #7AC4FA
square
#F07AFA #FAB07A #84FA7A #7AC4FA
split-complementary
#F07AFA #C4FA7A #7AFAB0
monochromatic
#DE09F1 #E93FF8 #F07AFA #F7B5FC #FCE2FE

Accessibility & contrast

On white

2.37
#F07AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#F07AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07AFA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07AFA#FFFFFF#000000##000000
##F07AFA1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#8EADF6
Tritanopia (blue-blind)
#F48AAF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07afa;
/* rgb */ color: rgb(240, 122, 250);
/* oklch */ color: oklch(75.9% 0.211 324.4);
Tailwind
colors: {
  custom: {
    50: '#f7a5fc',
    500: '#f07afa',
    950: '#000000',
  },
}
SCSS
$custom: #f07afa;
$custom-light: #f7a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f07afa",
  "rgb": {
    "r": 240,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 295.313,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.759,
    "c": 0.21059,
    "h": 324.4
  },
  "luminance": 0.39346
}

Semantic roles & 50–950 ramp

primary
#F07AFA
secondary
#D8F6D5
accent
#E60012
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F07AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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