#F257E5#F257E5

#F257E5 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.1% C 0.243 H 331.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#F257E5
RGBrgb(242, 87, 229)
HSLhsl(305, 86%, 65%)
HSVhsv(305, 64%, 95%)
CMYKcmyk(0%, 64%, 5.4%, 5.1%)
CIE-LABlab(62.81, 74.87, -42.55)
CIE-LCHlch(62.81, 86.11, 330.39°)
OKLaboklab(71.11% 0.2135 -0.1168)
OKLCHoklch(71.11% 0.243 331.3)
XYZxyz(54.1689, 31.3548, 77.3126)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257E5 #57F264
analogous
#B157F2 #F257E5 #F25798
triadic
#F257E5 #E5F257 #57E5F2
tetradic
#F257E5 #F2B157 #57F264 #5798F2
square
#F257E5 #F2B157 #57F264 #5798F2
split-complementary
#F257E5 #98F257 #57F2B1
monochromatic
#C00FB1 #EE1EDC #F257E5 #F690EE #FBC9F7

Accessibility & contrast

On white

2.89
#F257E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#F257E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257E5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257E5#FFFFFF#000000##000000
##F257E51.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#84A0E1
Tritanopia (blue-blind)
#FB6797
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f257e5;
/* rgb */ color: rgb(242, 87, 229);
/* oklch */ color: oklch(71.1% 0.243 331.3);
Tailwind
colors: {
  custom: {
    50: '#fa91ed',
    500: '#f257e5',
    950: '#000000',
  },
}
SCSS
$custom: #f257e5;
$custom-light: #fa91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f257e5",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 305.032,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.7111,
    "c": 0.24342,
    "h": 331.3
  },
  "luminance": 0.31351
}

Semantic roles & 50–950 ramp

primary
#F257E5
secondary
#B8EDBC
accent
#E21603
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F257E5

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

Preview Lab → · Contrast checker → · Palette generator →

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