#F07CFE#F07CFE

#F07CFE is a light, highly saturated purple. Relative luminance 0.401; OKLCH L 76.4% C 0.211 H 323.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#F07CFE
RGBrgb(240, 124, 254)
HSLhsl(294, 98%, 74%)
HSVhsv(294, 51%, 100%)
CMYKcmyk(5.5%, 51.2%, 0%, 0.4%)
CIE-LABlab(69.54, 62.65, -45.80)
CIE-LCHlch(69.54, 77.61, 323.83°)
OKLaboklab(76.35% 0.1691 -0.1265)
OKLCHoklch(76.35% 0.211 323.2)
XYZxyz(61.0305, 40.0992, 98.2719)
Luminance0.4010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CFE #8AFE7C
analogous
#AF7CFE #F07CFE #FE7CCB
triadic
#F07CFE #FEF07C #7CFEF0
tetradic
#F07CFE #FEAF7C #8AFE7C #7CCBFE
square
#F07CFE #FEAF7C #8AFE7C #7CCBFE
split-complementary
#F07CFE #CBFE7C #7CFEAF
monochromatic
#E203FD #E93FFE #F07CFE #F7B9FE #FCE1FF

Accessibility & contrast

On white

2.33
#F07CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#F07CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CFE
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CFE#FFFFFF#000000##000000
##F07CFE1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#8DAFFA
Tritanopia (blue-blind)
#F48DB2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07cfe;
/* rgb */ color: rgb(240, 124, 254);
/* oklch */ color: oklch(76.4% 0.211 323.2);
Tailwind
colors: {
  custom: {
    50: '#f7a6ff',
    500: '#f07cfe',
    950: '#000000',
  },
}
SCSS
$custom: #f07cfe;
$custom-light: #f7a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cfe",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 293.538,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76355,
    "c": 0.21118,
    "h": 323.2
  },
  "luminance": 0.40096
}

Semantic roles & 50–950 ramp

primary
#F07CFE
secondary
#D8F7D4
accent
#E60019
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #F07CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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