#F270F2#F270F2

#F270F2 is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.5% C 0.220 H 327.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#F270F2
RGBrgb(242, 112, 242)
HSLhsl(300, 83%, 69%)
HSVhsv(300, 54%, 95%)
CMYKcmyk(0%, 53.7%, 0%, 5.1%)
CIE-LABlab(67.19, 66.60, -42.89)
CIE-LCHlch(67.19, 79.22, 327.22°)
OKLaboklab(74.5% 0.1853 -0.118)
OKLCHoklch(74.5% 0.22 327.5)
XYZxyz(58.4382, 36.8799, 88.0277)
Luminance0.3688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270F2 #70F270
analogous
#B170F2 #F270F2 #F270B1
triadic
#F270F2 #F2F270 #70F2F2
tetradic
#F270F2 #F2B170 #70F270 #70B1F2
square
#F270F2 #F2B170 #70F270 #70B1F2
split-complementary
#F270F2 #B1F270 #70F2B1
monochromatic
#D413D4 #ED38ED #F270F2 #F7A8F7 #FCE0FC

Accessibility & contrast

On white

2.51
#F270F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#F270F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270F2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270F2#FFFFFF#000000##000000
##F270F21.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#8CAAEE
Tritanopia (blue-blind)
#F97FA7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f270f2;
/* rgb */ color: rgb(242, 112, 242);
/* oklch */ color: oklch(74.5% 0.220 327.5);
Tailwind
colors: {
  custom: {
    50: '#f99ff7',
    500: '#f270f2',
    950: '#000000',
  },
}
SCSS
$custom: #f270f2;
$custom-light: #f99ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#f270f2",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.745,
    "c": 0.21965,
    "h": 327.5
  },
  "luminance": 0.36876
}

Semantic roles & 50–950 ramp

primary
#F270F2
secondary
#CCF2CC
accent
#E00606
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F270F2

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

Preview Lab → · Contrast checker → · Palette generator →

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