#F07CFA#F07CFA

#F07CFA is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.2% C 0.208 H 324.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#F07CFA
RGBrgb(240, 124, 250)
HSLhsl(295, 93%, 73%)
HSVhsv(295, 50%, 98%)
CMYKcmyk(4%, 50.4%, 0%, 2%)
CIE-LABlab(69.36, 61.93, -43.89)
CIE-LCHlch(69.36, 75.91, 324.67°)
OKLaboklab(76.16% 0.1686 -0.121)
OKLCHoklch(76.16% 0.208 324.3)
XYZxyz(60.3966, 39.8457, 94.9336)
Luminance0.3984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CFA #86FA7C
analogous
#B17CFA #F07CFA #FA7CC5
triadic
#F07CFA #FAF07C #7CFAF0
tetradic
#F07CFA #FAB17C #86FA7C #7CC5FA
square
#F07CFA #FAB17C #86FA7C #7CC5FA
split-complementary
#F07CFA #C5FA7C #7CFAB1
monochromatic
#E009F2 #E941F8 #F07CFA #F7B7FC #FCE2FE

Accessibility & contrast

On white

2.34
#F07CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#F07CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CFA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CFA#FFFFFF#000000##000000
##F07CFA1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FE
Deuteranopia (green-blind)
#8FAEF6
Tritanopia (blue-blind)
#F48CB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07cfa;
/* rgb */ color: rgb(240, 124, 250);
/* oklch */ color: oklch(76.2% 0.208 324.3);
Tailwind
colors: {
  custom: {
    50: '#f7a6fc',
    500: '#f07cfa',
    950: '#000000',
  },
}
SCSS
$custom: #f07cfa;
$custom-light: #f7a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cfa",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 295.238,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76163,
    "c": 0.20754,
    "h": 324.3
  },
  "luminance": 0.39843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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