#F07FF5#F07FF5

#F07FF5 is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.3% C 0.198 H 325.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F07FF5
RGBrgb(240, 127, 245)
HSLhsl(297, 86%, 73%)
HSVhsv(297, 48%, 96%)
CMYKcmyk(2%, 48.2%, 0%, 3.9%)
CIE-LABlab(69.68, 59.61, -40.65)
CIE-LCHlch(69.68, 72.15, 325.71°)
OKLaboklab(76.33% 0.1639 -0.1117)
OKLCHoklch(76.33% 0.198 325.7)
XYZxyz(60.0047, 40.2996, 90.9865)
Luminance0.4030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FF5 #84F57F
analogous
#B57FF5 #F07FF5 #F57FBF
triadic
#F07FF5 #F5F07F #7FF5F0
tetradic
#F07FF5 #F5B57F #84F57F #7FBFF5
square
#F07FF5 #F5B57F #84F57F #7FBFF5
split-complementary
#F07FF5 #BFF57F #7FF5B5
monochromatic
#DE12E8 #E946F1 #F07FF5 #F7B8F9 #FCE3FD

Accessibility & contrast

On white

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

On black

9.06
#F07FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FF5
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FF5#FFFFFF#000000##000000
##F07FF51.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A1F9
Deuteranopia (green-blind)
#94AFF1
Tritanopia (blue-blind)
#F58CAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07ff5;
/* rgb */ color: rgb(240, 127, 245);
/* oklch */ color: oklch(76.3% 0.198 325.7);
Tailwind
colors: {
  custom: {
    50: '#f7a8f9',
    500: '#f07ff5',
    950: '#000000',
  },
}
SCSS
$custom: #f07ff5;
$custom-light: #f7a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ff5",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 297.458,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7633,
    "c": 0.19837,
    "h": 325.7
  },
  "luminance": 0.40297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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