#F251D8#F251D8

#F251D8 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.9% C 0.241 H 335.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#F251D8
RGBrgb(242, 81, 216)
HSLhsl(310, 86%, 63%)
HSVhsv(310, 67%, 95%)
CMYKcmyk(0%, 66.5%, 10.7%, 5.1%)
CIE-LABlab(61.42, 75.13, -37.44)
CIE-LCHlch(61.42, 83.95, 333.51°)
OKLaboklab(69.91% 0.2188 -0.1021)
OKLCHoklch(69.91% 0.241 335)
XYZxyz(51.9556, 29.7243, 67.9534)
Luminance0.2972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251D8 #51F26B
analogous
#BB51F2 #F251D8 #F25188
triadic
#F251D8 #D8F251 #51D8F2
tetradic
#F251D8 #F2BB51 #51F26B #5188F2
square
#F251D8 #F2BB51 #51F26B #5188F2
split-complementary
#F251D8 #88F251 #51F2BB
monochromatic
#BB0E9F #EE18CB #F251D8 #F68AE5 #FBC3F2

Accessibility & contrast

On white

3.02
#F251D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#F251D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F251D8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251D8#FFFFFF#000000##000000
##F251D81.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DC
Deuteranopia (green-blind)
#879DD4
Tritanopia (blue-blind)
#FD5D8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f251d8;
/* rgb */ color: rgb(242, 81, 216);
/* oklch */ color: oklch(69.9% 0.241 335.0);
Tailwind
colors: {
  custom: {
    50: '#fa8de4',
    500: '#f251d8',
    950: '#000000',
  },
}
SCSS
$custom: #f251d8;
$custom-light: #fa8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#f251d8",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 309.689,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69907,
    "c": 0.24143,
    "h": 335
  },
  "luminance": 0.2972
}

Semantic roles & 50–950 ramp

primary
#F251D8
secondary
#B3ECBC
accent
#E32703
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D15
muted
#867E84

Preview Lab

Preview with #F251D8

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

Preview Lab → · Contrast checker → · Palette generator →

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