#F270EA#F270EA

#F270EA is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.1% C 0.213 H 329.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F270EA
RGBrgb(242, 112, 234)
HSLhsl(304, 83%, 69%)
HSVhsv(304, 54%, 95%)
CMYKcmyk(0%, 53.7%, 3.3%, 5.1%)
CIE-LABlab(66.83, 65.26, -39.03)
CIE-LCHlch(66.83, 76.04, 329.12°)
OKLaboklab(74.12% 0.1842 -0.1069)
OKLCHoklch(74.12% 0.213 329.9)
XYZxyz(57.2629, 36.4097, 81.8376)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270EA #70F278
analogous
#B970F2 #F270EA #F270A9
triadic
#F270EA #EAF270 #70EAF2
tetradic
#F270EA #F2B970 #70F278 #70A9F2
square
#F270EA #F2B970 #70F278 #70A9F2
split-complementary
#F270EA #A9F270 #70F2B9
monochromatic
#D413C8 #ED38E2 #F270EA #F7A8F2 #FCE0FA

Accessibility & contrast

On white

2.54
#F270EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#F270EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270EA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270EA#FFFFFF#000000##000000
##F270EA1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897EE
Deuteranopia (green-blind)
#90A9E6
Tritanopia (blue-blind)
#FA7CA3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f270ea;
/* rgb */ color: rgb(242, 112, 234);
/* oklch */ color: oklch(74.1% 0.213 329.9);
Tailwind
colors: {
  custom: {
    50: '#f99ff1',
    500: '#f270ea',
    950: '#000000',
  },
}
SCSS
$custom: #f270ea;
$custom-light: #f99ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#f270ea",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 303.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74124,
    "c": 0.21301,
    "h": 329.9
  },
  "luminance": 0.36406
}

Semantic roles & 50–950 ramp

primary
#F270EA
secondary
#CCF2CE
accent
#E01306
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F270EA

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

Preview Lab → · Contrast checker → · Palette generator →

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