#F07EF4#F07EF4

#F07EF4 is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.1% C 0.199 H 326.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#F07EF4
RGBrgb(240, 126, 244)
HSLhsl(298, 84%, 73%)
HSVhsv(298, 48%, 96%)
CMYKcmyk(1.6%, 48.4%, 0%, 4.3%)
CIE-LABlab(69.46, 59.91, -40.46)
CIE-LCHlch(69.46, 72.29, 325.97°)
OKLaboklab(76.15% 0.1651 -0.1112)
OKLCHoklch(76.15% 0.199 326)
XYZxyz(59.7239, 39.9817, 90.1418)
Luminance0.3998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EF4 #82F47E
analogous
#B57EF4 #F07EF4 #F47EBD
triadic
#F07EF4 #F4F07E #7EF4F0
tetradic
#F07EF4 #F4B57E #82F47E #7EBDF4
square
#F07EF4 #F4B57E #82F47E #7EBDF4
split-complementary
#F07EF4 #BDF47E #7EF4B5
monochromatic
#DD13E4 #E946EF #F07EF4 #F7B6F9 #FCE3FD

Accessibility & contrast

On white

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

On black

9.00
#F07EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EF4
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EF4#FFFFFF#000000##000000
##F07EF41.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F8
Deuteranopia (green-blind)
#93AFF0
Tritanopia (blue-blind)
#F58BAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07ef4;
/* rgb */ color: rgb(240, 126, 244);
/* oklch */ color: oklch(76.1% 0.199 326.0);
Tailwind
colors: {
  custom: {
    50: '#f7a7f8',
    500: '#f07ef4',
    950: '#000000',
  },
}
SCSS
$custom: #f07ef4;
$custom-light: #f7a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ef4",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 297.966,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.76148,
    "c": 0.19904,
    "h": 326
  },
  "luminance": 0.39979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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