#F272DD#F272DD

#F272DD is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.8% C 0.200 H 334.1°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F272DD
RGBrgb(242, 114, 221)
HSLhsl(310, 83%, 70%)
HSVhsv(310, 53%, 95%)
CMYKcmyk(0%, 52.9%, 8.7%, 5.1%)
CIE-LABlab(66.62, 62.25, -32.14)
CIE-LCHlch(66.62, 70.05, 332.69°)
OKLaboklab(73.79% 0.1795 -0.0873)
OKLCHoklch(73.79% 0.2 334.1)
XYZxyz(55.6865, 36.1362, 72.4346)
Luminance0.3613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F272DD #72F287
analogous
#C772F2 #F272DD #F2729D
triadic
#F272DD #DDF272 #72DDF2
tetradic
#F272DD #F2C772 #72F287 #729DF2
square
#F272DD #F2C772 #72F287 #729DF2
split-complementary
#F272DD #9DF272 #72F2C7
monochromatic
#D614B6 #ED3ACF #F272DD #F7AAEB #FCE2F8

Accessibility & contrast

On white

2.55
#F272DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F272DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F272DD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F272DD#FFFFFF#000000##000000
##F272DD1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196E0
Deuteranopia (green-blind)
#96A9D9
Tritanopia (blue-blind)
#FC7A9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f272dd;
/* rgb */ color: rgb(242, 114, 221);
/* oklch */ color: oklch(73.8% 0.200 334.1);
Tailwind
colors: {
  custom: {
    50: '#f9a0e8',
    500: '#f272dd',
    950: '#000000',
  },
}
SCSS
$custom: #f272dd;
$custom-light: #f9a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f272dd",
  "rgb": {
    "r": 242,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 309.844,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73791,
    "c": 0.19963,
    "h": 334.1
  },
  "luminance": 0.36132
}

Semantic roles & 50–950 ramp

primary
#F272DD
secondary
#CEF2D4
accent
#E02A06
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F272DD

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

Preview Lab → · Contrast checker → · Palette generator →

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