#F07FF8#F07FF8

#F07FF8 is a light, highly saturated purple. Relative luminance 0.405; OKLCH L 76.5% C 0.201 H 324.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#F07FF8
RGBrgb(240, 127, 248)
HSLhsl(296, 90%, 74%)
HSVhsv(296, 49%, 97%)
CMYKcmyk(3.2%, 48.8%, 0%, 2.7%)
CIE-LABlab(69.81, 60.14, -42.09)
CIE-LCHlch(69.81, 73.41, 325.01°)
OKLaboklab(76.47% 0.1644 -0.1159)
OKLCHoklch(76.47% 0.201 324.8)
XYZxyz(60.4664, 40.4843, 93.4180)
Luminance0.4048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FF8 #87F87F
analogous
#B37FF8 #F07FF8 #F87FC3
triadic
#F07FF8 #F8F07F #7FF8F0
tetradic
#F07FF8 #F8B37F #87F87F #7FC3F8
square
#F07FF8 #F8B37F #87F87F #7FC3F8
split-complementary
#F07FF8 #C3F87F #7FF8B3
monochromatic
#E10DF0 #E945F5 #F07FF8 #F7B9FB #FCE2FD

Accessibility & contrast

On white

2.31
#F07FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#F07FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FF8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FF8#FFFFFF#000000##000000
##F07FF81.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#92AFF4
Tritanopia (blue-blind)
#F58DB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f07ff8;
/* rgb */ color: rgb(240, 127, 248);
/* oklch */ color: oklch(76.5% 0.201 324.8);
Tailwind
colors: {
  custom: {
    50: '#f7a8fb',
    500: '#f07ff8',
    950: '#000000',
  },
}
SCSS
$custom: #f07ff8;
$custom-light: #f7a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ff8",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 296.033,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76469,
    "c": 0.20109,
    "h": 324.8
  },
  "luminance": 0.40481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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