#F251FF#F251FF

#F251FF is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.9% C 0.270 H 324.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#F251FF
RGBrgb(242, 81, 255)
HSLhsl(296, 100%, 66%)
HSVhsv(296, 68%, 100%)
CMYKcmyk(5.1%, 68.2%, 0%, 0%)
CIE-LABlab(63.33, 81.20, -56.14)
CIE-LCHlch(63.33, 98.72, 325.34°)
OKLaboklab(71.91% 0.2206 -0.1562)
OKLCHoklch(71.91% 0.27 324.7)
XYZxyz(57.6089, 31.9857, 97.7279)
Luminance0.3198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251FF #5EFF51
analogous
#9B51FF #F251FF #FF51B5
triadic
#F251FF #FFF251 #51FFF2
tetradic
#F251FF #FF9B51 #5EFF51 #51B5FF
square
#F251FF #FF9B51 #5EFF51 #51B5FF
split-complementary
#F251FF #B5FF51 #51FF9B
monochromatic
#C600D6 #ED14FF #F251FF #F78EFF #FBCBFF

Accessibility & contrast

On white

2.84
#F251FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#F251FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F251FF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251FF#FFFFFF#000000##000000
##F251FF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#238DFF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#F76EA3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f251ff;
/* rgb */ color: rgb(242, 81, 255);
/* oklch */ color: oklch(71.9% 0.270 324.7);
Tailwind
colors: {
  custom: {
    50: '#fa8fff',
    500: '#f251ff',
    950: '#000000',
  },
}
SCSS
$custom: #f251ff;
$custom-light: #fa8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#f251ff",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 295.517,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71909,
    "c": 0.27032,
    "h": 324.7
  },
  "luminance": 0.31982
}

Semantic roles & 50–950 ramp

primary
#F251FF
secondary
#BDF3B9
accent
#E60011
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D18
muted
#867E86

Preview Lab

Preview with #F251FF

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

Preview Lab → · Contrast checker → · Palette generator →

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