#F257E4#F257E4

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

Color values

HEX#F257E4
RGBrgb(242, 87, 228)
HSLhsl(305, 86%, 65%)
HSVhsv(305, 64%, 95%)
CMYKcmyk(0%, 64%, 5.8%, 5.1%)
CIE-LABlab(62.76, 74.71, -42.07)
CIE-LCHlch(62.76, 85.74, 330.62°)
OKLaboklab(71.06% 0.2135 -0.1155)
OKLCHoklch(71.06% 0.243 331.6)
XYZxyz(54.0297, 31.2991, 76.5794)
Luminance0.3130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257E4 #57F265
analogous
#B257F2 #F257E4 #F25797
triadic
#F257E4 #E4F257 #57E4F2
tetradic
#F257E4 #F2B257 #57F265 #5797F2
square
#F257E4 #F2B257 #57F265 #5797F2
split-complementary
#F257E4 #97F257 #57F2B2
monochromatic
#C00FB0 #EE1EDB #F257E4 #F690ED #FBC9F6

Accessibility & contrast

On white

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

On black

7.26
#F257E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257E4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257E4#FFFFFF#000000##000000
##F257E41.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8AE8
Deuteranopia (green-blind)
#84A0E0
Tritanopia (blue-blind)
#FB6696
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f257e4;
/* rgb */ color: rgb(242, 87, 228);
/* oklch */ color: oklch(71.1% 0.243 331.6);
Tailwind
colors: {
  custom: {
    50: '#fa91ed',
    500: '#f257e4',
    950: '#000000',
  },
}
SCSS
$custom: #f257e4;
$custom-light: #fa91ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f257e4",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 305.419,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71061,
    "c": 0.24268,
    "h": 331.6
  },
  "luminance": 0.31295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F257E4

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

Preview Lab → · Contrast checker → · Palette generator →

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