#F270DD#F270DD

#F270DD is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.5% C 0.203 H 334.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#F270DD
RGBrgb(242, 112, 221)
HSLhsl(310, 83%, 69%)
HSVhsv(310, 54%, 95%)
CMYKcmyk(0%, 53.7%, 8.7%, 5.1%)
CIE-LABlab(66.28, 63.16, -32.67)
CIE-LCHlch(66.28, 71.11, 332.65°)
OKLaboklab(73.54% 0.1822 -0.0888)
OKLCHoklch(73.54% 0.203 334)
XYZxyz(55.4634, 35.6899, 72.3602)
Luminance0.3569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270DD #70F285
analogous
#C670F2 #F270DD #F2709C
triadic
#F270DD #DDF270 #70DDF2
tetradic
#F270DD #F2C670 #70F285 #709CF2
square
#F270DD #F2C670 #70F285 #709CF2
split-complementary
#F270DD #9CF270 #70F2C6
monochromatic
#D413B5 #ED38D0 #F270DD #F7A8EA #FCE0F8

Accessibility & contrast

On white

2.58
#F270DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#F270DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270DD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270DD#FFFFFF#000000##000000
##F270DD1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95E1
Deuteranopia (green-blind)
#95A8D9
Tritanopia (blue-blind)
#FC789D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f270dd;
/* rgb */ color: rgb(242, 112, 221);
/* oklch */ color: oklch(73.5% 0.203 334.0);
Tailwind
colors: {
  custom: {
    50: '#f99ee8',
    500: '#f270dd',
    950: '#000000',
  },
}
SCSS
$custom: #f270dd;
$custom-light: #f99ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#f270dd",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 309.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73539,
    "c": 0.20266,
    "h": 334
  },
  "luminance": 0.35686
}

Semantic roles & 50–950 ramp

primary
#F270DD
secondary
#CCF2D2
accent
#E02906
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F270DD

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

Preview Lab → · Contrast checker → · Palette generator →

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