#F257E6#F257E6

#F257E6 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.2% C 0.244 H 331.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#F257E6
RGBrgb(242, 87, 230)
HSLhsl(305, 86%, 65%)
HSVhsv(305, 64%, 95%)
CMYKcmyk(0%, 64%, 5%, 5.1%)
CIE-LABlab(62.85, 75.02, -43.04)
CIE-LCHlch(62.85, 86.49, 330.16°)
OKLaboklab(71.16% 0.2136 -0.1182)
OKLCHoklch(71.16% 0.244 331)
XYZxyz(54.3089, 31.4108, 78.0501)
Luminance0.3141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257E6 #57F263
analogous
#B057F2 #F257E6 #F25799
triadic
#F257E6 #E6F257 #57E6F2
tetradic
#F257E6 #F2B057 #57F263 #5799F2
square
#F257E6 #F2B057 #57F263 #5799F2
split-complementary
#F257E6 #99F257 #57F2B0
monochromatic
#C00FB2 #EE1EDE #F257E6 #F690EE #FBC9F7

Accessibility & contrast

On white

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

On black

7.28
#F257E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257E6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257E6#FFFFFF#000000##000000
##F257E61.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AEA
Deuteranopia (green-blind)
#83A0E2
Tritanopia (blue-blind)
#FB6797
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f257e6;
/* rgb */ color: rgb(242, 87, 230);
/* oklch */ color: oklch(71.2% 0.244 331.0);
Tailwind
colors: {
  custom: {
    50: '#fa91ee',
    500: '#f257e6',
    950: '#000000',
  },
}
SCSS
$custom: #f257e6;
$custom-light: #fa91ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f257e6",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 304.645,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71159,
    "c": 0.24417,
    "h": 331
  },
  "luminance": 0.31407
}

Semantic roles & 50–950 ramp

primary
#F257E6
secondary
#B8EDBC
accent
#E21503
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F257E6

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

Preview Lab → · Contrast checker → · Palette generator →

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