#F274DF#F274DF

#F274DF is a light, vivid purple. Relative luminance 0.367; OKLCH L 74.1% C 0.198 H 333.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F274DF
RGBrgb(242, 116, 223)
HSLhsl(309, 83%, 70%)
HSVhsv(309, 52%, 95%)
CMYKcmyk(0%, 52.1%, 7.9%, 5.1%)
CIE-LABlab(67.05, 61.64, -32.59)
CIE-LCHlch(67.05, 69.73, 332.14°)
OKLaboklab(74.13% 0.1772 -0.0886)
OKLCHoklch(74.13% 0.198 333.4)
XYZxyz(56.1826, 36.6995, 73.9223)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274DF #74F287
analogous
#C674F2 #F274DF #F274A0
triadic
#F274DF #DFF274 #74DFF2
tetradic
#F274DF #F2C674 #74F287 #74A0F2
square
#F274DF #F2C674 #74F287 #74A0F2
split-complementary
#F274DF #A0F274 #74F2C6
monochromatic
#D714BA #ED3CD2 #F274DF #F7ACEC #FCE3F9

Accessibility & contrast

On white

2.52
#F274DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#F274DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274DF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274DF#FFFFFF#000000##000000
##F274DF1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7298E3
Deuteranopia (green-blind)
#97AADB
Tritanopia (blue-blind)
#FC7CA0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f274df;
/* rgb */ color: rgb(242, 116, 223);
/* oklch */ color: oklch(74.1% 0.198 333.4);
Tailwind
colors: {
  custom: {
    50: '#f9a1e9',
    500: '#f274df',
    950: '#000000',
  },
}
SCSS
$custom: #f274df;
$custom-light: #f9a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f274df",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 309.048,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74134,
    "c": 0.19812,
    "h": 333.4
  },
  "luminance": 0.36696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F274DF

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

Preview Lab → · Contrast checker → · Palette generator →

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