#F257EA#F257EA

#F257EA is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.4% C 0.247 H 329.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#F257EA
RGBrgb(242, 87, 234)
HSLhsl(303, 86%, 65%)
HSVhsv(303, 64%, 95%)
CMYKcmyk(0%, 64%, 3.3%, 5.1%)
CIE-LABlab(63.04, 75.64, -44.97)
CIE-LCHlch(63.04, 88.00, 329.27°)
OKLaboklab(71.36% 0.2139 -0.1238)
OKLCHoklch(71.36% 0.247 329.9)
XYZxyz(54.8771, 31.6381, 81.0424)
Luminance0.3163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257EA #57F25F
analogous
#AD57F2 #F257EA #F2579C
triadic
#F257EA #EAF257 #57EAF2
tetradic
#F257EA #F2AD57 #57F25F #579CF2
square
#F257EA #F2AD57 #57F25F #579CF2
split-complementary
#F257EA #9CF257 #57F2AD
monochromatic
#C00FB7 #EE1EE3 #F257EA #F690F1 #FBC9F8

Accessibility & contrast

On white

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

On black

7.33
#F257EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257EA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257EA#FFFFFF#000000##000000
##F257EA1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#81A0E6
Tritanopia (blue-blind)
#FB6999
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f257ea;
/* rgb */ color: rgb(242, 87, 234);
/* oklch */ color: oklch(71.4% 0.247 329.9);
Tailwind
colors: {
  custom: {
    50: '#fa91f1',
    500: '#f257ea',
    950: '#000000',
  },
}
SCSS
$custom: #f257ea;
$custom-light: #fa91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f257ea",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 303.097,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71358,
    "c": 0.24717,
    "h": 329.9
  },
  "luminance": 0.31634
}

Semantic roles & 50–950 ramp

primary
#F257EA
secondary
#B8EDBA
accent
#E20F03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F257EA

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

Preview Lab → · Contrast checker → · Palette generator →

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