#F07FFA#F07FFA

#F07FFA is a light, highly saturated purple. Relative luminance 0.406; OKLCH L 76.6% C 0.203 H 324.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#F07FFA
RGBrgb(240, 127, 250)
HSLhsl(295, 92%, 74%)
HSVhsv(295, 49%, 98%)
CMYKcmyk(4%, 49.2%, 0%, 2%)
CIE-LABlab(69.90, 60.50, -43.05)
CIE-LCHlch(69.90, 74.25, 324.57°)
OKLaboklab(76.56% 0.1646 -0.1186)
OKLCHoklch(76.56% 0.203 324.2)
XYZxyz(60.7783, 40.6091, 95.0609)
Luminance0.4061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FFA #89FA7F
analogous
#B37FFA #F07FFA #FA7FC7
triadic
#F07FFA #FAF07F #7FFAF0
tetradic
#F07FFA #FAB37F #89FA7F #7FC7FA
square
#F07FFA #FAB37F #89FA7F #7FC7FA
split-complementary
#F07FFA #C7FA7F #7FFAB3
monochromatic
#E20AF5 #E944F8 #F07FFA #F7BAFC #FCE2FE

Accessibility & contrast

On white

2.30
#F07FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#F07FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FFA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FFA#FFFFFF#000000##000000
##F07FFA1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#91B0F6
Tritanopia (blue-blind)
#F48EB1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f07ffa;
/* rgb */ color: rgb(240, 127, 250);
/* oklch */ color: oklch(76.6% 0.203 324.2);
Tailwind
colors: {
  custom: {
    50: '#f7a8fc',
    500: '#f07ffa',
    950: '#000000',
  },
}
SCSS
$custom: #f07ffa;
$custom-light: #f7a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ffa",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 295.122,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76563,
    "c": 0.20291,
    "h": 324.2
  },
  "luminance": 0.40606
}

Semantic roles & 50–950 ramp

primary
#F07FFA
secondary
#D8F6D5
accent
#E60013
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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