#F273DF#F273DF

#F273DF is a light, vivid purple. Relative luminance 0.365; OKLCH L 74.0% C 0.200 H 333.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F273DF
RGBrgb(242, 115, 223)
HSLhsl(309, 83%, 70%)
HSVhsv(309, 52%, 95%)
CMYKcmyk(0%, 52.5%, 7.9%, 5.1%)
CIE-LABlab(66.88, 62.10, -32.86)
CIE-LCHlch(66.88, 70.26, 332.12°)
OKLaboklab(74.01% 0.1785 -0.0893)
OKLCHoklch(74.01% 0.2 333.4)
XYZxyz(56.0680, 36.4702, 73.8841)
Luminance0.3647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F273DF #73F286
analogous
#C573F2 #F273DF #F273A0
triadic
#F273DF #DFF273 #73DFF2
tetradic
#F273DF #F2C573 #73F286 #73A0F2
square
#F273DF #F2C573 #73F286 #73A0F2
split-complementary
#F273DF #A0F273 #73F2C5
monochromatic
#D714BA #ED3BD2 #F273DF #F7ABEC #FCE3F9

Accessibility & contrast

On white

2.53
#F273DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F273DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F273DF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F273DF#FFFFFF#000000##000000
##F273DF1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E3
Deuteranopia (green-blind)
#96A9DB
Tritanopia (blue-blind)
#FC7B9F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f273df;
/* rgb */ color: rgb(242, 115, 223);
/* oklch */ color: oklch(74.0% 0.200 333.4);
Tailwind
colors: {
  custom: {
    50: '#f9a0e9',
    500: '#f273df',
    950: '#000000',
  },
}
SCSS
$custom: #f273df;
$custom-light: #f9a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f273df",
  "rgb": {
    "r": 242,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 308.976,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.19965,
    "h": 333.4
  },
  "luminance": 0.36466
}

Semantic roles & 50–950 ramp

primary
#F273DF
secondary
#CFF2D4
accent
#DF2706
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F273DF

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

Preview Lab → · Contrast checker → · Palette generator →

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