#F251E2#F251E2

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

Color values

HEX#F251E2
RGBrgb(242, 81, 226)
HSLhsl(306, 86%, 63%)
HSVhsv(306, 67%, 95%)
CMYKcmyk(0%, 66.5%, 6.6%, 5.1%)
CIE-LABlab(61.88, 76.62, -42.34)
CIE-LCHlch(61.88, 87.54, 331.08°)
OKLaboklab(70.39% 0.2197 -0.1162)
OKLCHoklch(70.39% 0.249 332.1)
XYZxyz(53.2879, 30.2573, 74.9704)
Luminance0.3025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251E2 #51F261
analogous
#B151F2 #F251E2 #F25191
triadic
#F251E2 #E2F251 #51E2F2
tetradic
#F251E2 #F2B151 #51F261 #5191F2
square
#F251E2 #F2B151 #51F261 #5191F2
split-complementary
#F251E2 #91F251 #51F2B1
monochromatic
#BB0EA9 #EE18D9 #F251E2 #F68AEB #FBC3F5

Accessibility & contrast

On white

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

On black

7.05
#F251E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F251E2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251E2#FFFFFF#000000##000000
##F251E21.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E6
Deuteranopia (green-blind)
#829EDE
Tritanopia (blue-blind)
#FC6193
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f251e2;
/* rgb */ color: rgb(242, 81, 226);
/* oklch */ color: oklch(70.4% 0.249 332.1);
Tailwind
colors: {
  custom: {
    50: '#fa8eeb',
    500: '#f251e2',
    950: '#000000',
  },
}
SCSS
$custom: #f251e2;
$custom-light: #fa8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f251e2",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 305.963,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.7039,
    "c": 0.24852,
    "h": 332.1
  },
  "luminance": 0.30253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F251E2

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

Preview Lab → · Contrast checker → · Palette generator →

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