#F07EF5#F07EF5

#F07EF5 is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.2% C 0.200 H 325.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#F07EF5
RGBrgb(240, 126, 245)
HSLhsl(297, 86%, 73%)
HSVhsv(297, 49%, 96%)
CMYKcmyk(2%, 48.6%, 0%, 3.9%)
CIE-LABlab(69.50, 60.09, -40.94)
CIE-LCHlch(69.50, 72.71, 325.73°)
OKLaboklab(76.19% 0.1653 -0.1125)
OKLCHoklch(76.19% 0.2 325.7)
XYZxyz(59.8762, 40.0426, 90.9436)
Luminance0.4004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EF5 #83F57E
analogous
#B47EF5 #F07EF5 #F57EBE
triadic
#F07EF5 #F5F07E #7EF5F0
tetradic
#F07EF5 #F5B47E #83F57E #7EBEF5
square
#F07EF5 #F5B47E #83F57E #7EBEF5
split-complementary
#F07EF5 #BEF57E #7EF5B4
monochromatic
#DE12E7 #E945F1 #F07EF5 #F7B7F9 #FCE3FD

Accessibility & contrast

On white

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

On black

9.01
#F07EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EF5
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EF5#FFFFFF#000000##000000
##F07EF51.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1F9
Deuteranopia (green-blind)
#93AFF1
Tritanopia (blue-blind)
#F58CAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07ef5;
/* rgb */ color: rgb(240, 126, 245);
/* oklch */ color: oklch(76.2% 0.200 325.7);
Tailwind
colors: {
  custom: {
    50: '#f7a7f9',
    500: '#f07ef5',
    950: '#000000',
  },
}
SCSS
$custom: #f07ef5;
$custom-light: #f7a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ef5",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 297.479,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76194,
    "c": 0.19994,
    "h": 325.7
  },
  "luminance": 0.4004
}

Semantic roles & 50–950 ramp

primary
#F07EF5
secondary
#D8F5D6
accent
#E2030D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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