#F07FF2#F07FF2

#F07FF2 is a light, vivid purple. Relative luminance 0.401; OKLCH L 76.2% C 0.196 H 326.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#F07FF2
RGBrgb(240, 127, 242)
HSLhsl(299, 82%, 72%)
HSVhsv(299, 48%, 95%)
CMYKcmyk(0.8%, 47.5%, 0%, 5.1%)
CIE-LABlab(69.55, 59.08, -39.21)
CIE-LCHlch(69.55, 70.91, 326.43°)
OKLaboklab(76.19% 0.1634 -0.1076)
OKLCHoklch(76.19% 0.196 326.6)
XYZxyz(59.5504, 40.1179, 88.5940)
Luminance0.4012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FF2 #81F27F
analogous
#B77FF2 #F07FF2 #F27FBA
triadic
#F07FF2 #F2F07F #7FF2F0
tetradic
#F07FF2 #F2B77F #81F27F #7FBAF2
square
#F07FF2 #F2B77F #81F27F #7FBAF2
split-complementary
#F07FF2 #BAF27F #7FF2B7
monochromatic
#DC17E0 #E947EC #F07FF2 #F7B7F8 #FCE3FC

Accessibility & contrast

On white

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

On black

9.02
#F07FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FF2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FF2#FFFFFF#000000##000000
##F07FF21.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#F68CAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07ff2;
/* rgb */ color: rgb(240, 127, 242);
/* oklch */ color: oklch(76.2% 0.196 326.6);
Tailwind
colors: {
  custom: {
    50: '#f7a8f6',
    500: '#f07ff2',
    950: '#000000',
  },
}
SCSS
$custom: #f07ff2;
$custom-light: #f7a8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ff2",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 298.957,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76192,
    "c": 0.19568,
    "h": 326.6
  },
  "luminance": 0.40115
}

Semantic roles & 50–950 ramp

primary
#F07FF2
secondary
#D7F4D7
accent
#DE080B
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F07FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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