#F270FD#F270FD

#F270FD is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 75.0% C 0.229 H 324.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#F270FD
RGBrgb(242, 112, 253)
HSLhsl(295, 97%, 72%)
HSVhsv(295, 56%, 99%)
CMYKcmyk(4.3%, 55.7%, 0%, 0.8%)
CIE-LABlab(67.70, 68.50, -48.13)
CIE-LCHlch(67.70, 83.72, 324.90°)
OKLaboklab(75.04% 0.1864 -0.1331)
OKLCHoklch(75.04% 0.229 324.5)
XYZxyz(60.1402, 37.5607, 96.9916)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270FD #7BFD70
analogous
#AC70FD #F270FD #FD70C2
triadic
#F270FD #FDF270 #70FDF2
tetradic
#F270FD #FDAC70 #7BFD70 #70C2FD
square
#F270FD #FDAC70 #7BFD70 #70C2FD
split-complementary
#F270FD #C2FD70 #70FDAC
monochromatic
#DD03EF #ED34FC #F270FD #F7ACFE #FCE1FF

Accessibility & contrast

On white

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

On black

8.51
#F270FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270FD
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270FD#FFFFFF#000000##000000
##F270FD1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#87AAF9
Tritanopia (blue-blind)
#F783AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f270fd;
/* rgb */ color: rgb(242, 112, 253);
/* oklch */ color: oklch(75.0% 0.229 324.5);
Tailwind
colors: {
  custom: {
    50: '#f99ffe',
    500: '#f270fd',
    950: '#000000',
  },
}
SCSS
$custom: #f270fd;
$custom-light: #f99ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#f270fd",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 295.319,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75039,
    "c": 0.22905,
    "h": 324.5
  },
  "luminance": 0.37557
}

Semantic roles & 50–950 ramp

primary
#F270FD
secondary
#D5F7D2
accent
#E60012
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F270FD

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

Preview Lab → · Contrast checker → · Palette generator →

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