#F257DD#F257DD

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

Color values

HEX#F257DD
RGBrgb(242, 87, 221)
HSLhsl(308, 86%, 65%)
HSVhsv(308, 64%, 95%)
CMYKcmyk(0%, 64%, 8.7%, 5.1%)
CIE-LABlab(62.44, 73.65, -38.65)
CIE-LCHlch(62.44, 83.17, 332.31°)
OKLaboklab(70.72% 0.2128 -0.1056)
OKLCHoklch(70.72% 0.238 333.6)
XYZxyz(53.0776, 30.9183, 71.5649)
Luminance0.3091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257DD #57F26C
analogous
#BA57F2 #F257DD #F25790
triadic
#F257DD #DDF257 #57DDF2
tetradic
#F257DD #F2BA57 #57F26C #5790F2
square
#F257DD #F2BA57 #57F26C #5790F2
split-complementary
#F257DD #90F257 #57F2BA
monochromatic
#C00FA8 #EE1ED2 #F257DD #F690E8 #FBC9F4

Accessibility & contrast

On white

2.92
#F257DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#F257DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257DD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257DD#FFFFFF#000000##000000
##F257DD1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E1
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#FD6393
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f257dd;
/* rgb */ color: rgb(242, 87, 221);
/* oklch */ color: oklch(70.7% 0.238 333.6);
Tailwind
colors: {
  custom: {
    50: '#fa91e8',
    500: '#f257dd',
    950: '#000000',
  },
}
SCSS
$custom: #f257dd;
$custom-light: #fa91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f257dd",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 308.129,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70723,
    "c": 0.23755,
    "h": 333.6
  },
  "luminance": 0.30914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F257DD

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

Preview Lab → · Contrast checker → · Palette generator →

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