#F257E9#F257E9

#F257E9 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.3% C 0.246 H 330.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#F257E9
RGBrgb(242, 87, 233)
HSLhsl(303, 86%, 65%)
HSVhsv(303, 64%, 95%)
CMYKcmyk(0%, 64%, 3.7%, 5.1%)
CIE-LABlab(62.99, 75.49, -44.49)
CIE-LCHlch(62.99, 87.62, 329.49°)
OKLaboklab(71.31% 0.2139 -0.1224)
OKLCHoklch(71.31% 0.246 330.2)
XYZxyz(54.7338, 31.5808, 80.2879)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257E9 #57F260
analogous
#AE57F2 #F257E9 #F2579C
triadic
#F257E9 #E9F257 #57E9F2
tetradic
#F257E9 #F2AE57 #57F260 #579CF2
square
#F257E9 #F2AE57 #57F260 #579CF2
split-complementary
#F257E9 #9CF257 #57F2AE
monochromatic
#C00FB5 #EE1EE2 #F257E9 #F690F0 #FBC9F8

Accessibility & contrast

On white

2.87
#F257E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#F257E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257E9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257E9#FFFFFF#000000##000000
##F257E91.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BED
Deuteranopia (green-blind)
#82A0E5
Tritanopia (blue-blind)
#FB6899
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f257e9;
/* rgb */ color: rgb(242, 87, 233);
/* oklch */ color: oklch(71.3% 0.246 330.2);
Tailwind
colors: {
  custom: {
    50: '#fa91f0',
    500: '#f257e9',
    950: '#000000',
  },
}
SCSS
$custom: #f257e9;
$custom-light: #fa91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f257e9",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 303.484,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71308,
    "c": 0.24642,
    "h": 330.2
  },
  "luminance": 0.31577
}

Semantic roles & 50–950 ramp

primary
#F257E9
secondary
#B8EDBB
accent
#E21003
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F257E9

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

Preview Lab → · Contrast checker → · Palette generator →

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