#F270E9#F270E9

#F270E9 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.1% C 0.212 H 330.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F270E9
RGBrgb(242, 112, 233)
HSLhsl(304, 83%, 69%)
HSVhsv(304, 54%, 95%)
CMYKcmyk(0%, 53.7%, 3.7%, 5.1%)
CIE-LABlab(66.79, 65.10, -38.54)
CIE-LCHlch(66.79, 75.65, 329.37°)
OKLaboklab(74.08% 0.1841 -0.1055)
OKLCHoklch(74.08% 0.212 330.2)
XYZxyz(57.1196, 36.3524, 81.0832)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270E9 #70F279
analogous
#BA70F2 #F270E9 #F270A8
triadic
#F270E9 #E9F270 #70E9F2
tetradic
#F270E9 #F2BA70 #70F279 #70A8F2
square
#F270E9 #F2BA70 #70F279 #70A8F2
split-complementary
#F270E9 #A8F270 #70F2BA
monochromatic
#D413C7 #ED38E0 #F270E9 #F7A8F2 #FCE0FA

Accessibility & contrast

On white

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

On black

8.27
#F270E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270E9
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270E9#FFFFFF#000000##000000
##F270E91.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897ED
Deuteranopia (green-blind)
#90A9E5
Tritanopia (blue-blind)
#FA7CA3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f270e9;
/* rgb */ color: rgb(242, 112, 233);
/* oklch */ color: oklch(74.1% 0.212 330.2);
Tailwind
colors: {
  custom: {
    50: '#f99ff0',
    500: '#f270e9',
    950: '#000000',
  },
}
SCSS
$custom: #f270e9;
$custom-light: #f99ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#f270e9",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 233
  },
  "hsl": {
    "h": 304.154,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74078,
    "c": 0.2122,
    "h": 330.2
  },
  "luminance": 0.36349
}

Semantic roles & 50–950 ramp

primary
#F270E9
secondary
#CCF2CF
accent
#E01506
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F270E9

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

Preview Lab → · Contrast checker → · Palette generator →

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