#F257E2#F257E2

#F257E2 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 71.0% C 0.241 H 332.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#F257E2
RGBrgb(242, 87, 226)
HSLhsl(306, 86%, 65%)
HSVhsv(306, 64%, 95%)
CMYKcmyk(0%, 64%, 6.6%, 5.1%)
CIE-LABlab(62.67, 74.40, -41.10)
CIE-LCHlch(62.67, 85.00, 331.09°)
OKLaboklab(70.96% 0.2133 -0.1127)
OKLCHoklch(70.96% 0.241 332.2)
XYZxyz(53.7536, 31.1887, 75.1256)
Luminance0.3119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257E2 #57F267
analogous
#B557F2 #F257E2 #F25794
triadic
#F257E2 #E2F257 #57E2F2
tetradic
#F257E2 #F2B557 #57F267 #5794F2
square
#F257E2 #F2B557 #57F267 #5794F2
split-complementary
#F257E2 #94F257 #57F2B5
monochromatic
#C00FAD #EE1ED8 #F257E2 #F690EC #FBC9F6

Accessibility & contrast

On white

2.90
#F257E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#F257E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257E2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257E2#FFFFFF#000000##000000
##F257E21.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E6
Deuteranopia (green-blind)
#859FDE
Tritanopia (blue-blind)
#FC6595
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f257e2;
/* rgb */ color: rgb(242, 87, 226);
/* oklch */ color: oklch(71.0% 0.241 332.2);
Tailwind
colors: {
  custom: {
    50: '#fa91eb',
    500: '#f257e2',
    950: '#000000',
  },
}
SCSS
$custom: #f257e2;
$custom-light: #fa91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f257e2",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 306.194,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70963,
    "c": 0.2412,
    "h": 332.2
  },
  "luminance": 0.31185
}

Semantic roles & 50–950 ramp

primary
#F257E2
secondary
#B8EDBD
accent
#E21A03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F257E2

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

Preview Lab → · Contrast checker → · Palette generator →

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