#F257DF#F257DF

#F257DF is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.8% C 0.239 H 333.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#F257DF
RGBrgb(242, 87, 223)
HSLhsl(307, 86%, 65%)
HSVhsv(307, 64%, 95%)
CMYKcmyk(0%, 64%, 7.9%, 5.1%)
CIE-LABlab(62.53, 73.95, -39.63)
CIE-LCHlch(62.53, 83.90, 331.81°)
OKLaboklab(70.82% 0.213 -0.1084)
OKLCHoklch(70.82% 0.239 333)
XYZxyz(53.3456, 31.0255, 72.9766)
Luminance0.3102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257DF #57F26A
analogous
#B857F2 #F257DF #F25792
triadic
#F257DF #DFF257 #57DFF2
tetradic
#F257DF #F2B857 #57F26A #5792F2
square
#F257DF #F2B857 #57F26A #5792F2
split-complementary
#F257DF #92F257 #57F2B8
monochromatic
#C00FAA #EE1ED4 #F257DF #F690EA #FBC9F5

Accessibility & contrast

On white

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

On black

7.20
#F257DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257DF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257DF#FFFFFF#000000##000000
##F257DF1.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#869FDB
Tritanopia (blue-blind)
#FC6494
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f257df;
/* rgb */ color: rgb(242, 87, 223);
/* oklch */ color: oklch(70.8% 0.239 333.0);
Tailwind
colors: {
  custom: {
    50: '#fa91e9',
    500: '#f257df',
    950: '#000000',
  },
}
SCSS
$custom: #f257df;
$custom-light: #fa91e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f257df",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 307.355,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70819,
    "c": 0.239,
    "h": 333
  },
  "luminance": 0.31021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F257DF

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

Preview Lab → · Contrast checker → · Palette generator →

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