#F270FB#F270FB

#F270FB is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.9% C 0.227 H 325.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#F270FB
RGBrgb(242, 112, 251)
HSLhsl(296, 95%, 71%)
HSVhsv(296, 55%, 98%)
CMYKcmyk(3.6%, 55.4%, 0%, 1.6%)
CIE-LABlab(67.60, 68.15, -47.19)
CIE-LCHlch(67.60, 82.89, 325.30°)
OKLaboklab(74.94% 0.1862 -0.1304)
OKLCHoklch(74.94% 0.227 325)
XYZxyz(59.8233, 37.4339, 95.3225)
Luminance0.3743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270FB #79FB70
analogous
#AC70FB #F270FB #FB70BE
triadic
#F270FB #FBF270 #70FBF2
tetradic
#F270FB #FBAC70 #79FB70 #70BEFB
square
#F270FB #FBAC70 #79FB70 #70BEFB
split-complementary
#F270FB #BEFB70 #70FBAC
monochromatic
#DB07EA #ED34F9 #F270FB #F7ACFD #FCE1FE

Accessibility & contrast

On white

2.47
#F270FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#F270FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270FB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270FB#FFFFFF#000000##000000
##F270FB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#F782AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f270fb;
/* rgb */ color: rgb(242, 112, 251);
/* oklch */ color: oklch(74.9% 0.227 325.0);
Tailwind
colors: {
  custom: {
    50: '#f99ffd',
    500: '#f270fb',
    950: '#000000',
  },
}
SCSS
$custom: #f270fb;
$custom-light: #f99ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#f270fb",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 296.115,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74939,
    "c": 0.22732,
    "h": 325
  },
  "luminance": 0.37431
}

Semantic roles & 50–950 ramp

primary
#F270FB
secondary
#D3F6D1
accent
#E6000F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F270FB

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

Preview Lab → · Contrast checker → · Palette generator →

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