#F257E0#F257E0

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

Color values

HEX#F257E0
RGBrgb(242, 87, 224)
HSLhsl(307, 86%, 65%)
HSVhsv(307, 64%, 95%)
CMYKcmyk(0%, 64%, 7.4%, 5.1%)
CIE-LABlab(62.57, 74.10, -40.12)
CIE-LCHlch(62.57, 84.26, 331.57°)
OKLaboklab(70.87% 0.2131 -0.1099)
OKLCHoklch(70.87% 0.24 332.7)
XYZxyz(53.4808, 31.0796, 73.6888)
Luminance0.3108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257E0 #57F269
analogous
#B757F2 #F257E0 #F25793
triadic
#F257E0 #E0F257 #57E0F2
tetradic
#F257E0 #F2B757 #57F269 #5793F2
square
#F257E0 #F2B757 #57F269 #5793F2
split-complementary
#F257E0 #93F257 #57F2B7
monochromatic
#C00FAB #EE1ED6 #F257E0 #F690EA #FBC9F5

Accessibility & contrast

On white

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

On black

7.22
#F257E0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257E0
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257E0#FFFFFF#000000##000000
##F257E01.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E4
Deuteranopia (green-blind)
#869FDC
Tritanopia (blue-blind)
#FC6594
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f257e0;
/* rgb */ color: rgb(242, 87, 224);
/* oklch */ color: oklch(70.9% 0.240 332.7);
Tailwind
colors: {
  custom: {
    50: '#fa91ea',
    500: '#f257e0',
    950: '#000000',
  },
}
SCSS
$custom: #f257e0;
$custom-light: #fa91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#f257e0",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 224
  },
  "hsl": {
    "h": 306.968,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70867,
    "c": 0.23973,
    "h": 332.7
  },
  "luminance": 0.31075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F257E0

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

Preview Lab → · Contrast checker → · Palette generator →

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