#F257E7#F257E7

#F257E7 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.2% C 0.245 H 330.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#F257E7
RGBrgb(242, 87, 231)
HSLhsl(304, 86%, 65%)
HSVhsv(304, 64%, 95%)
CMYKcmyk(0%, 64%, 4.5%, 5.1%)
CIE-LABlab(62.90, 75.18, -43.52)
CIE-LCHlch(62.90, 86.87, 329.93°)
OKLaboklab(71.21% 0.2137 -0.1196)
OKLCHoklch(71.21% 0.245 330.8)
XYZxyz(54.4497, 31.4672, 78.7918)
Luminance0.3146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257E7 #57F262
analogous
#B057F2 #F257E7 #F2579A
triadic
#F257E7 #E7F257 #57E7F2
tetradic
#F257E7 #F2B057 #57F262 #579AF2
square
#F257E7 #F2B057 #57F262 #579AF2
split-complementary
#F257E7 #9AF257 #57F2B0
monochromatic
#C00FB3 #EE1EDF #F257E7 #F690EF #FBC9F7

Accessibility & contrast

On white

2.88
#F257E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#F257E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257E7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257E7#FFFFFF#000000##000000
##F257E71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AEB
Deuteranopia (green-blind)
#83A0E3
Tritanopia (blue-blind)
#FB6898
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f257e7;
/* rgb */ color: rgb(242, 87, 231);
/* oklch */ color: oklch(71.2% 0.245 330.8);
Tailwind
colors: {
  custom: {
    50: '#fa91ef',
    500: '#f257e7',
    950: '#000000',
  },
}
SCSS
$custom: #f257e7;
$custom-light: #fa91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f257e7",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 304.258,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71208,
    "c": 0.24491,
    "h": 330.8
  },
  "luminance": 0.31463
}

Semantic roles & 50–950 ramp

primary
#F257E7
secondary
#B8EDBB
accent
#E21303
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F257E7

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

Preview Lab → · Contrast checker → · Palette generator →

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