#F270EC#F270EC

#F270EC is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.2% C 0.215 H 329.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F270EC
RGBrgb(242, 112, 236)
HSLhsl(303, 83%, 69%)
HSVhsv(303, 54%, 95%)
CMYKcmyk(0%, 53.7%, 2.5%, 5.1%)
CIE-LABlab(66.92, 65.59, -40.00)
CIE-LCHlch(66.92, 76.83, 328.63°)
OKLaboklab(74.22% 0.1845 -0.1097)
OKLCHoklch(74.22% 0.215 329.3)
XYZxyz(57.5518, 36.5253, 83.3594)
Luminance0.3652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270EC #70F276
analogous
#B770F2 #F270EC #F270AB
triadic
#F270EC #ECF270 #70ECF2
tetradic
#F270EC #F2B770 #70F276 #70ABF2
square
#F270EC #F2B770 #70F276 #70ABF2
split-complementary
#F270EC #ABF270 #70F2B7
monochromatic
#D413CB #ED38E5 #F270EC #F7A8F3 #FCE0FB

Accessibility & contrast

On white

2.53
#F270EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F270EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270EC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270EC#FFFFFF#000000##000000
##F270EC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F0
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#FA7DA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f270ec;
/* rgb */ color: rgb(242, 112, 236);
/* oklch */ color: oklch(74.2% 0.215 329.3);
Tailwind
colors: {
  custom: {
    50: '#f99ff2',
    500: '#f270ec',
    950: '#000000',
  },
}
SCSS
$custom: #f270ec;
$custom-light: #f99ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#f270ec",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 302.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74217,
    "c": 0.21465,
    "h": 329.3
  },
  "luminance": 0.36522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F270EC

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

Preview Lab → · Contrast checker → · Palette generator →

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