#F270ED#F270ED

#F270ED is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.3% C 0.215 H 329.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F270ED
RGBrgb(242, 112, 237)
HSLhsl(302, 83%, 69%)
HSVhsv(302, 54%, 95%)
CMYKcmyk(0%, 53.7%, 2.1%, 5.1%)
CIE-LABlab(66.96, 65.76, -40.48)
CIE-LCHlch(66.96, 77.22, 328.38°)
OKLaboklab(74.26% 0.1846 -0.1111)
OKLCHoklch(74.26% 0.215 329)
XYZxyz(57.6975, 36.5836, 84.1267)
Luminance0.3658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270ED #70F275
analogous
#B670F2 #F270ED #F270AC
triadic
#F270ED #EDF270 #70EDF2
tetradic
#F270ED #F2B670 #70F275 #70ACF2
square
#F270ED #F2B670 #70F275 #70ACF2
split-complementary
#F270ED #ACF270 #70F2B6
monochromatic
#D413CD #ED38E6 #F270ED #F7A8F4 #FCE0FB

Accessibility & contrast

On white

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

On black

8.32
#F270ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270ED
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270ED#FFFFFF#000000##000000
##F270ED1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F1
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#F97DA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f270ed;
/* rgb */ color: rgb(242, 112, 237);
/* oklch */ color: oklch(74.3% 0.215 329.0);
Tailwind
colors: {
  custom: {
    50: '#f99ff3',
    500: '#f270ed',
    950: '#000000',
  },
}
SCSS
$custom: #f270ed;
$custom-light: #f99ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#f270ed",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 302.308,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74264,
    "c": 0.21547,
    "h": 329
  },
  "luminance": 0.3658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F270ED

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

Preview Lab → · Contrast checker → · Palette generator →

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