#F251E1#F251E1

#F251E1 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.3% C 0.248 H 332.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#F251E1
RGBrgb(242, 81, 225)
HSLhsl(306, 86%, 63%)
HSVhsv(306, 67%, 95%)
CMYKcmyk(0%, 66.5%, 7%, 5.1%)
CIE-LABlab(61.83, 76.47, -41.85)
CIE-LCHlch(61.83, 87.17, 331.31°)
OKLaboklab(70.34% 0.2196 -0.1148)
OKLCHoklch(70.34% 0.248 332.4)
XYZxyz(53.1511, 30.2025, 74.2499)
Luminance0.3020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251E1 #51F262
analogous
#B251F2 #F251E1 #F25191
triadic
#F251E1 #E1F251 #51E1F2
tetradic
#F251E1 #F2B251 #51F262 #5191F2
square
#F251E1 #F2B251 #51F262 #5191F2
split-complementary
#F251E1 #91F251 #51F2B2
monochromatic
#BB0EA8 #EE18D7 #F251E1 #F68AEB #FBC3F5

Accessibility & contrast

On white

2.98
#F251E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#F251E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F251E1
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251E1#FFFFFF#000000##000000
##F251E11.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E5
Deuteranopia (green-blind)
#839EDD
Tritanopia (blue-blind)
#FC6093
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f251e1;
/* rgb */ color: rgb(242, 81, 225);
/* oklch */ color: oklch(70.3% 0.248 332.4);
Tailwind
colors: {
  custom: {
    50: '#fa8eeb',
    500: '#f251e1',
    950: '#000000',
  },
}
SCSS
$custom: #f251e1;
$custom-light: #fa8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f251e1",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 306.335,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70341,
    "c": 0.2478,
    "h": 332.4
  },
  "luminance": 0.30198
}

Semantic roles & 50–950 ramp

primary
#F251E1
secondary
#B3ECB9
accent
#E31B03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F251E1

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

Preview Lab → · Contrast checker → · Palette generator →

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