#F270F5#F270F5

#F270F5 is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.6% C 0.222 H 326.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F270F5
RGBrgb(242, 112, 245)
HSLhsl(299, 87%, 70%)
HSVhsv(299, 54%, 96%)
CMYKcmyk(1.2%, 54.3%, 0%, 3.9%)
CIE-LABlab(67.32, 67.11, -44.33)
CIE-LCHlch(67.32, 80.43, 326.55°)
OKLaboklab(74.65% 0.1856 -0.1221)
OKLCHoklch(74.65% 0.222 326.6)
XYZxyz(58.8925, 37.0616, 90.4201)
Luminance0.3706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270F5 #73F570
analogous
#B070F5 #F270F5 #F570B5
triadic
#F270F5 #F5F270 #70F5F2
tetradic
#F270F5 #F5B070 #73F570 #70B5F5
square
#F270F5 #F5B070 #73F570 #70B5F5
split-complementary
#F270F5 #B5F570 #70F5B0
monochromatic
#D70FDB #ED37F1 #F270F5 #F7A9F9 #FCE2FD

Accessibility & contrast

On white

2.50
#F270F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#F270F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270F5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270F5#FFFFFF#000000##000000
##F270F51.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F9
Deuteranopia (green-blind)
#8BAAF1
Tritanopia (blue-blind)
#F880A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f270f5;
/* rgb */ color: rgb(242, 112, 245);
/* oklch */ color: oklch(74.6% 0.222 326.6);
Tailwind
colors: {
  custom: {
    50: '#f99ff9',
    500: '#f270f5',
    950: '#000000',
  },
}
SCSS
$custom: #f270f5;
$custom-light: #f99ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#f270f5",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 298.647,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.74645,
    "c": 0.22218,
    "h": 326.6
  },
  "luminance": 0.37058
}

Semantic roles & 50–950 ramp

primary
#F270F5
secondary
#CFF3CE
accent
#E30207
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F270F5

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

Preview Lab → · Contrast checker → · Palette generator →

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