#F270E1#F270E1

#F270E1 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.7% C 0.206 H 332.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F270E1
RGBrgb(242, 112, 225)
HSLhsl(308, 83%, 69%)
HSVhsv(308, 54%, 95%)
CMYKcmyk(0%, 53.7%, 7%, 5.1%)
CIE-LABlab(66.45, 63.79, -34.64)
CIE-LCHlch(66.45, 72.59, 331.50°)
OKLaboklab(73.72% 0.1829 -0.0944)
OKLCHoklch(73.72% 0.206 332.7)
XYZxyz(56.0026, 35.9056, 75.2004)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270E1 #70F281
analogous
#C270F2 #F270E1 #F270A0
triadic
#F270E1 #E1F270 #70E1F2
tetradic
#F270E1 #F2C270 #70F281 #70A0F2
square
#F270E1 #F2C270 #70F281 #70A0F2
split-complementary
#F270E1 #A0F270 #70F2C2
monochromatic
#D413BB #ED38D5 #F270E1 #F7A8ED #FCE0F9

Accessibility & contrast

On white

2.57
#F270E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F270E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270E1
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270E1#FFFFFF#000000##000000
##F270E11.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E5
Deuteranopia (green-blind)
#94A8DD
Tritanopia (blue-blind)
#FB799F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f270e1;
/* rgb */ color: rgb(242, 112, 225);
/* oklch */ color: oklch(73.7% 0.206 332.7);
Tailwind
colors: {
  custom: {
    50: '#f99eea',
    500: '#f270e1',
    950: '#000000',
  },
}
SCSS
$custom: #f270e1;
$custom-light: #f99eea;
$custom-dark: #000000;
JSON
{
  "hex": "#f270e1",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 225
  },
  "hsl": {
    "h": 307.846,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73715,
    "c": 0.20578,
    "h": 332.7
  },
  "luminance": 0.35902
}

Semantic roles & 50–950 ramp

primary
#F270E1
secondary
#CCF2D1
accent
#E02206
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F270E1

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

Preview Lab → · Contrast checker → · Palette generator →

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