#F07FF4#F07FF4

#F07FF4 is a light, vivid purple. Relative luminance 0.402; OKLCH L 76.3% C 0.197 H 326.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#F07FF4
RGBrgb(240, 127, 244)
HSLhsl(298, 84%, 73%)
HSVhsv(298, 48%, 96%)
CMYKcmyk(1.6%, 48%, 0%, 4.3%)
CIE-LABlab(69.64, 59.43, -40.17)
CIE-LCHlch(69.64, 71.73, 325.94°)
OKLaboklab(76.28% 0.1638 -0.1104)
OKLCHoklch(76.28% 0.197 326)
XYZxyz(59.8524, 40.2387, 90.1846)
Luminance0.4024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FF4 #83F47F
analogous
#B67FF4 #F07FF4 #F47FBD
triadic
#F07FF4 #F4F07F #7FF4F0
tetradic
#F07FF4 #F4B67F #83F47F #7FBDF4
square
#F07FF4 #F4B67F #83F47F #7FBDF4
split-complementary
#F07FF4 #BDF47F #7FF4B6
monochromatic
#DE14E5 #E947EF #F07FF4 #F7B7F9 #FCE3FD

Accessibility & contrast

On white

2.32
#F07FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#F07FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FF4
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FF4#FFFFFF#000000##000000
##F07FF41.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F8
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#F58CAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07ff4;
/* rgb */ color: rgb(240, 127, 244);
/* oklch */ color: oklch(76.3% 0.197 326.0);
Tailwind
colors: {
  custom: {
    50: '#f7a8f8',
    500: '#f07ff4',
    950: '#000000',
  },
}
SCSS
$custom: #f07ff4;
$custom-light: #f7a8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ff4",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 297.949,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76283,
    "c": 0.19747,
    "h": 326
  },
  "luminance": 0.40236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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