#F251E3#F251E3

#F251E3 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.4% C 0.249 H 331.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#F251E3
RGBrgb(242, 81, 227)
HSLhsl(306, 86%, 63%)
HSVhsv(306, 67%, 95%)
CMYKcmyk(0%, 66.5%, 6.2%, 5.1%)
CIE-LABlab(61.92, 76.77, -42.82)
CIE-LCHlch(61.92, 87.90, 330.85°)
OKLaboklab(70.44% 0.2198 -0.1176)
OKLCHoklch(70.44% 0.249 331.9)
XYZxyz(53.4255, 30.3123, 75.6952)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251E3 #51F260
analogous
#B051F2 #F251E3 #F25192
triadic
#F251E3 #E3F251 #51E3F2
tetradic
#F251E3 #F2B051 #51F260 #5192F2
square
#F251E3 #F2B051 #51F260 #5192F2
split-complementary
#F251E3 #92F251 #51F2B0
monochromatic
#BB0EAB #EE18DA #F251E3 #F68AEC #FBC3F5

Accessibility & contrast

On white

2.97
#F251E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#F251E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F251E3
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251E3#FFFFFF#000000##000000
##F251E31.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4887E7
Deuteranopia (green-blind)
#829EDF
Tritanopia (blue-blind)
#FC6194
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f251e3;
/* rgb */ color: rgb(242, 81, 227);
/* oklch */ color: oklch(70.4% 0.249 331.9);
Tailwind
colors: {
  custom: {
    50: '#fa8eec',
    500: '#f251e3',
    950: '#000000',
  },
}
SCSS
$custom: #f251e3;
$custom-light: #fa8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#f251e3",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 305.59,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70439,
    "c": 0.24925,
    "h": 331.9
  },
  "luminance": 0.30308
}

Semantic roles & 50–950 ramp

primary
#F251E3
secondary
#B3ECB8
accent
#E31803
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F251E3

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

Preview Lab → · Contrast checker → · Palette generator →

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