#F251DC#F251DC

#F251DC is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 70.1% C 0.244 H 333.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#F251DC
RGBrgb(242, 81, 220)
HSLhsl(308, 86%, 63%)
HSVhsv(308, 67%, 95%)
CMYKcmyk(0%, 66.5%, 9.1%, 5.1%)
CIE-LABlab(61.60, 75.72, -39.41)
CIE-LCHlch(61.60, 85.36, 332.51°)
OKLaboklab(70.1% 0.2192 -0.1078)
OKLCHoklch(70.1% 0.244 333.8)
XYZxyz(52.4790, 29.9337, 70.7101)
Luminance0.2993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251DC #51F267
analogous
#B751F2 #F251DC #F2518B
triadic
#F251DC #DCF251 #51DCF2
tetradic
#F251DC #F2B751 #51F267 #518BF2
square
#F251DC #F2B751 #51F267 #518BF2
split-complementary
#F251DC #8BF251 #51F2B7
monochromatic
#BB0EA3 #EE18D1 #F251DC #F68AE7 #FBC3F3

Accessibility & contrast

On white

3.01
#F251DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#F251DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F251DC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251DC#FFFFFF#000000##000000
##F251DC1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E86E0
Deuteranopia (green-blind)
#859DD8
Tritanopia (blue-blind)
#FD5E90
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f251dc;
/* rgb */ color: rgb(242, 81, 220);
/* oklch */ color: oklch(70.1% 0.244 333.8);
Tailwind
colors: {
  custom: {
    50: '#fa8ee7',
    500: '#f251dc',
    950: '#000000',
  },
}
SCSS
$custom: #f251dc;
$custom-light: #fa8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#f251dc",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 308.199,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70098,
    "c": 0.24423,
    "h": 333.8
  },
  "luminance": 0.29929
}

Semantic roles & 50–950 ramp

primary
#F251DC
secondary
#B3ECBB
accent
#E32103
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F251DC

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

Preview Lab → · Contrast checker → · Palette generator →

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