#F257E8#F257E8

#F257E8 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.3% C 0.246 H 330.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#F257E8
RGBrgb(242, 87, 232)
HSLhsl(304, 86%, 65%)
HSVhsv(304, 64%, 95%)
CMYKcmyk(0%, 64%, 4.1%, 5.1%)
CIE-LABlab(62.95, 75.33, -44.01)
CIE-LCHlch(62.95, 87.24, 329.71°)
OKLaboklab(71.26% 0.2138 -0.121)
OKLCHoklch(71.26% 0.246 330.5)
XYZxyz(54.5914, 31.5238, 79.5377)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257E8 #57F261
analogous
#AF57F2 #F257E8 #F2579B
triadic
#F257E8 #E8F257 #57E8F2
tetradic
#F257E8 #F2AF57 #57F261 #579BF2
square
#F257E8 #F2AF57 #57F261 #579BF2
split-complementary
#F257E8 #9BF257 #57F2AF
monochromatic
#C00FB4 #EE1EE0 #F257E8 #F690F0 #FBC9F8

Accessibility & contrast

On white

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

On black

7.30
#F257E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257E8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257E8#FFFFFF#000000##000000
##F257E81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BEC
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#FB6898
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f257e8;
/* rgb */ color: rgb(242, 87, 232);
/* oklch */ color: oklch(71.3% 0.246 330.5);
Tailwind
colors: {
  custom: {
    50: '#fa91f0',
    500: '#f257e8',
    950: '#000000',
  },
}
SCSS
$custom: #f257e8;
$custom-light: #fa91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f257e8",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 303.871,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71258,
    "c": 0.24566,
    "h": 330.5
  },
  "luminance": 0.3152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F257E8

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

Preview Lab → · Contrast checker → · Palette generator →

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