#F270EF#F270EF

#F270EF is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.4% C 0.217 H 328.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F270EF
RGBrgb(242, 112, 239)
HSLhsl(301, 83%, 69%)
HSVhsv(301, 54%, 95%)
CMYKcmyk(0%, 53.7%, 1.2%, 5.1%)
CIE-LABlab(67.05, 66.09, -41.45)
CIE-LCHlch(67.05, 78.01, 327.91°)
OKLaboklab(74.36% 0.1849 -0.1139)
OKLCHoklch(74.36% 0.217 328.4)
XYZxyz(57.9913, 36.7011, 85.6741)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270EF #70F273
analogous
#B470F2 #F270EF #F270AE
triadic
#F270EF #EFF270 #70EFF2
tetradic
#F270EF #F2B470 #70F273 #70AEF2
square
#F270EF #F2B470 #70F273 #70AEF2
split-complementary
#F270EF #AEF270 #70F2B4
monochromatic
#D413D0 #ED38E9 #F270EF #F7A8F5 #FCE0FC

Accessibility & contrast

On white

2.52
#F270EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#F270EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270EF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270EF#FFFFFF#000000##000000
##F270EF1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#8EA9EB
Tritanopia (blue-blind)
#F97EA5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f270ef;
/* rgb */ color: rgb(242, 112, 239);
/* oklch */ color: oklch(74.4% 0.217 328.4);
Tailwind
colors: {
  custom: {
    50: '#f99ff4',
    500: '#f270ef',
    950: '#000000',
  },
}
SCSS
$custom: #f270ef;
$custom-light: #f99ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#f270ef",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 301.385,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74358,
    "c": 0.21714,
    "h": 328.4
  },
  "luminance": 0.36698
}

Semantic roles & 50–950 ramp

primary
#F270EF
secondary
#CCF2CD
accent
#E00B06
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F270EF

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

Preview Lab → · Contrast checker → · Palette generator →

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