#F07FF6#F07FF6

#F07FF6 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.4% C 0.199 H 325.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#F07FF6
RGBrgb(240, 127, 246)
HSLhsl(297, 87%, 73%)
HSVhsv(297, 48%, 96%)
CMYKcmyk(2.4%, 48.4%, 0%, 3.5%)
CIE-LABlab(69.73, 59.79, -41.13)
CIE-LCHlch(69.73, 72.57, 325.47°)
OKLaboklab(76.38% 0.1641 -0.1131)
OKLCHoklch(76.38% 0.199 325.4)
XYZxyz(60.1578, 40.3609, 91.7926)
Luminance0.4036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FF6 #85F67F
analogous
#B47FF6 #F07FF6 #F67FC0
triadic
#F07FF6 #F6F07F #7FF6F0
tetradic
#F07FF6 #F6B47F #85F67F #7FC0F6
square
#F07FF6 #F6B47F #85F67F #7FC0F6
split-complementary
#F07FF6 #C0F67F #7FF6B4
monochromatic
#DF10EA #E946F2 #F07FF6 #F7B8FA #FCE2FD

Accessibility & contrast

On white

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

On black

9.07
#F07FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FF6
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FF6#FFFFFF#000000##000000
##F07FF61.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1FA
Deuteranopia (green-blind)
#93AFF2
Tritanopia (blue-blind)
#F58DAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07ff6;
/* rgb */ color: rgb(240, 127, 246);
/* oklch */ color: oklch(76.4% 0.199 325.4);
Tailwind
colors: {
  custom: {
    50: '#f7a8f9',
    500: '#f07ff6',
    950: '#000000',
  },
}
SCSS
$custom: #f07ff6;
$custom-light: #f7a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ff6",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 296.975,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76376,
    "c": 0.19927,
    "h": 325.4
  },
  "luminance": 0.40358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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