#F257DC#F257DC

#F257DC is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.7% C 0.237 H 333.9°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#F257DC
RGBrgb(242, 87, 220)
HSLhsl(309, 86%, 65%)
HSVhsv(309, 64%, 95%)
CMYKcmyk(0%, 64%, 9.1%, 5.1%)
CIE-LABlab(62.39, 73.50, -38.16)
CIE-LCHlch(62.39, 82.81, 332.56°)
OKLaboklab(70.68% 0.2127 -0.1042)
OKLCHoklch(70.68% 0.237 333.9)
XYZxyz(52.9447, 30.8652, 70.8653)
Luminance0.3086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257DC #57F26D
analogous
#BA57F2 #F257DC #F2578F
triadic
#F257DC #DCF257 #57DCF2
tetradic
#F257DC #F2BA57 #57F26D #578FF2
square
#F257DC #F2BA57 #57F26D #578FF2
split-complementary
#F257DC #8FF257 #57F2BA
monochromatic
#C00FA7 #EE1ED0 #F257DC #F690E8 #FBC9F4

Accessibility & contrast

On white

2.93
#F257DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#F257DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257DC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257DC#FFFFFF#000000##000000
##F257DC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#889FD8
Tritanopia (blue-blind)
#FD6392
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f257dc;
/* rgb */ color: rgb(242, 87, 220);
/* oklch */ color: oklch(70.7% 0.237 333.9);
Tailwind
colors: {
  custom: {
    50: '#fa91e7',
    500: '#f257dc',
    950: '#000000',
  },
}
SCSS
$custom: #f257dc;
$custom-light: #fa91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f257dc",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 308.516,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70676,
    "c": 0.23683,
    "h": 333.9
  },
  "luminance": 0.30861
}

Semantic roles & 50–950 ramp

primary
#F257DC
secondary
#B8EDBF
accent
#E22303
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F257DC

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

Preview Lab → · Contrast checker → · Palette generator →

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