#F07CF5#F07CF5

#F07CF5 is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 75.9% C 0.203 H 325.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#F07CF5
RGBrgb(240, 124, 245)
HSLhsl(298, 86%, 72%)
HSVhsv(298, 49%, 96%)
CMYKcmyk(2%, 49.4%, 0%, 3.9%)
CIE-LABlab(69.14, 61.04, -41.50)
CIE-LCHlch(69.14, 73.82, 325.79°)
OKLaboklab(75.93% 0.1679 -0.1142)
OKLCHoklch(75.93% 0.203 325.8)
XYZxyz(59.6230, 39.5362, 90.8592)
Luminance0.3953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CF5 #81F57C
analogous
#B47CF5 #F07CF5 #F57CBD
triadic
#F07CF5 #F5F07C #7CF5F0
tetradic
#F07CF5 #F5B47C #81F57C #7CBDF5
square
#F07CF5 #F5B47C #81F57C #7CBDF5
split-complementary
#F07CF5 #BDF57C #7CF5B4
monochromatic
#DC11E5 #E943F1 #F07CF5 #F7B5F9 #FCE3FD

Accessibility & contrast

On white

2.36
#F07CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#F07CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CF5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CF5#FFFFFF#000000##000000
##F07CF51.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9FF9
Deuteranopia (green-blind)
#92AEF1
Tritanopia (blue-blind)
#F58AAE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07cf5;
/* rgb */ color: rgb(240, 124, 245);
/* oklch */ color: oklch(75.9% 0.203 325.8);
Tailwind
colors: {
  custom: {
    50: '#f7a6f9',
    500: '#f07cf5',
    950: '#000000',
  },
}
SCSS
$custom: #f07cf5;
$custom-light: #f7a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cf5",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 297.521,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75927,
    "c": 0.20304,
    "h": 325.8
  },
  "luminance": 0.39533
}

Semantic roles & 50–950 ramp

primary
#F07CF5
secondary
#D7F5D6
accent
#E2030C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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