#F257E1#F257E1

#F257E1 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.9% C 0.240 H 332.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#F257E1
RGBrgb(242, 87, 225)
HSLhsl(307, 86%, 65%)
HSVhsv(307, 64%, 95%)
CMYKcmyk(0%, 64%, 7%, 5.1%)
CIE-LABlab(62.62, 74.25, -40.61)
CIE-LCHlch(62.62, 84.63, 331.33°)
OKLaboklab(70.91% 0.2132 -0.1113)
OKLCHoklch(70.91% 0.24 332.4)
XYZxyz(53.6168, 31.1340, 74.4051)
Luminance0.3113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257E1 #57F268
analogous
#B657F2 #F257E1 #F25793
triadic
#F257E1 #E1F257 #57E1F2
tetradic
#F257E1 #F2B657 #57F268 #5793F2
square
#F257E1 #F2B657 #57F268 #5793F2
split-complementary
#F257E1 #93F257 #57F2B6
monochromatic
#C00FAC #EE1ED7 #F257E1 #F690EB #FBC9F5

Accessibility & contrast

On white

2.91
#F257E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#F257E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257E1
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257E1#FFFFFF#000000##000000
##F257E11.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E5
Deuteranopia (green-blind)
#869FDD
Tritanopia (blue-blind)
#FC6595
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f257e1;
/* rgb */ color: rgb(242, 87, 225);
/* oklch */ color: oklch(70.9% 0.240 332.4);
Tailwind
colors: {
  custom: {
    50: '#fa91eb',
    500: '#f257e1',
    950: '#000000',
  },
}
SCSS
$custom: #f257e1;
$custom-light: #fa91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f257e1",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 306.581,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70915,
    "c": 0.24047,
    "h": 332.4
  },
  "luminance": 0.3113
}

Semantic roles & 50–950 ramp

primary
#F257E1
secondary
#B8EDBE
accent
#E21C03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F257E1

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

Preview Lab → · Contrast checker → · Palette generator →

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