#F270FC#F270FC

#F270FC is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 75.0% C 0.228 H 324.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#F270FC
RGBrgb(242, 112, 252)
HSLhsl(296, 96%, 71%)
HSVhsv(296, 56%, 99%)
CMYKcmyk(4%, 55.6%, 0%, 1.2%)
CIE-LABlab(67.65, 68.32, -47.66)
CIE-LCHlch(67.65, 83.30, 325.10°)
OKLaboklab(74.99% 0.1863 -0.1318)
OKLCHoklch(74.99% 0.228 324.7)
XYZxyz(59.9813, 37.4971, 96.1549)
Luminance0.3749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270FC #7AFC70
analogous
#AC70FC #F270FC #FC70C0
triadic
#F270FC #FCF270 #70FCF2
tetradic
#F270FC #FCAC70 #7AFC70 #70C0FC
square
#F270FC #FCAC70 #7AFC70 #70C0FC
split-complementary
#F270FC #C0FC70 #70FCAC
monochromatic
#DC05ED #ED34FB #F270FC #F7ACFD #FCE1FE

Accessibility & contrast

On white

2.47
#F270FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#F270FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270FC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270FC#FFFFFF#000000##000000
##F270FC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#F782AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f270fc;
/* rgb */ color: rgb(242, 112, 252);
/* oklch */ color: oklch(75.0% 0.228 324.7);
Tailwind
colors: {
  custom: {
    50: '#f99ffe',
    500: '#f270fc',
    950: '#000000',
  },
}
SCSS
$custom: #f270fc;
$custom-light: #f99ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#f270fc",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 295.714,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74989,
    "c": 0.22818,
    "h": 324.7
  },
  "luminance": 0.37494
}

Semantic roles & 50–950 ramp

primary
#F270FC
secondary
#D4F6D2
accent
#E60010
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F270FC

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

Preview Lab → · Contrast checker → · Palette generator →

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