#F257F3#F257F3

#F257F3 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.8% C 0.254 H 327.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#F257F3
RGBrgb(242, 87, 243)
HSLhsl(300, 87%, 65%)
HSVhsv(300, 64%, 95%)
CMYKcmyk(0.4%, 64.2%, 0%, 4.7%)
CIE-LABlab(63.48, 77.08, -49.28)
CIE-LCHlch(63.48, 91.48, 327.41°)
OKLaboklab(71.82% 0.2144 -0.1363)
OKLCHoklch(71.82% 0.254 327.6)
XYZxyz(56.2030, 32.1685, 88.0255)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257F3 #58F357
analogous
#A457F3 #F257F3 #F357A6
triadic
#F257F3 #F3F257 #57F3F2
tetradic
#F257F3 #F3A457 #58F357 #57A6F3
square
#F257F3 #F3A457 #58F357 #57A6F3
split-complementary
#F257F3 #A6F357 #57F3A4
monochromatic
#C10EC2 #EE1EEF #F257F3 #F690F7 #FBC9FB

Accessibility & contrast

On white

2.83
#F257F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#F257F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257F3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257F3#FFFFFF#000000##000000
##F257F31.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#408DF8
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#F96C9E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f257f3;
/* rgb */ color: rgb(242, 87, 243);
/* oklch */ color: oklch(71.8% 0.254 327.6);
Tailwind
colors: {
  custom: {
    50: '#fa91f7',
    500: '#f257f3',
    950: '#000000',
  },
}
SCSS
$custom: #f257f3;
$custom-light: #fa91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f257f3",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 243
  },
  "hsl": {
    "h": 299.615,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71818,
    "c": 0.25405,
    "h": 327.6
  },
  "luminance": 0.32165
}

Semantic roles & 50–950 ramp

primary
#F257F3
secondary
#B8EEB8
accent
#E30204
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F257F3

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

Preview Lab → · Contrast checker → · Palette generator →

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