#F257DA#F257DA

#F257DA is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.6% C 0.235 H 334.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#F257DA
RGBrgb(242, 87, 218)
HSLhsl(309, 86%, 65%)
HSVhsv(309, 64%, 95%)
CMYKcmyk(0%, 64%, 9.9%, 5.1%)
CIE-LABlab(62.30, 73.20, -37.18)
CIE-LCHlch(62.30, 82.10, 333.07°)
OKLaboklab(70.58% 0.2124 -0.1014)
OKLCHoklch(70.58% 0.235 334.5)
XYZxyz(52.6814, 30.7599, 69.4787)
Luminance0.3076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257DA #57F26F
analogous
#BC57F2 #F257DA #F2578D
triadic
#F257DA #DAF257 #57DAF2
tetradic
#F257DA #F2BC57 #57F26F #578DF2
square
#F257DA #F2BC57 #57F26F #578DF2
split-complementary
#F257DA #8DF257 #57F2BC
monochromatic
#C00FA4 #EE1ECD #F257DA #F690E7 #FBC9F3

Accessibility & contrast

On white

2.94
#F257DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#F257DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257DA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257DA#FFFFFF#000000##000000
##F257DA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DE
Deuteranopia (green-blind)
#899FD6
Tritanopia (blue-blind)
#FD6291
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f257da;
/* rgb */ color: rgb(242, 87, 218);
/* oklch */ color: oklch(70.6% 0.235 334.5);
Tailwind
colors: {
  custom: {
    50: '#fa91e6',
    500: '#f257da',
    950: '#000000',
  },
}
SCSS
$custom: #f257da;
$custom-light: #fa91e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f257da",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 309.29,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70582,
    "c": 0.2354,
    "h": 334.5
  },
  "luminance": 0.30756
}

Semantic roles & 50–950 ramp

primary
#F257DA
secondary
#B8EDC0
accent
#E22603
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F257DA

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

Preview Lab → · Contrast checker → · Palette generator →

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