#F257EC#F257EC

#F257EC is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.5% C 0.249 H 329.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#F257EC
RGBrgb(242, 87, 236)
HSLhsl(302, 86%, 65%)
HSVhsv(302, 64%, 95%)
CMYKcmyk(0%, 64%, 2.5%, 5.1%)
CIE-LABlab(63.14, 75.96, -45.93)
CIE-LCHlch(63.14, 88.77, 328.84°)
OKLaboklab(71.46% 0.2141 -0.1266)
OKLCHoklch(71.46% 0.249 329.4)
XYZxyz(55.1660, 31.7537, 82.5641)
Luminance0.3175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257EC #57F25D
analogous
#AB57F2 #F257EC #F2579E
triadic
#F257EC #ECF257 #57ECF2
tetradic
#F257EC #F2AB57 #57F25D #579EF2
square
#F257EC #F2AB57 #57F25D #579EF2
split-complementary
#F257EC #9EF257 #57F2AB
monochromatic
#C00FB9 #EE1EE6 #F257EC #F690F2 #FBC9F9

Accessibility & contrast

On white

2.86
#F257EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#F257EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257EC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257EC#FFFFFF#000000##000000
##F257EC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#FA6A9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f257ec;
/* rgb */ color: rgb(242, 87, 236);
/* oklch */ color: oklch(71.5% 0.249 329.4);
Tailwind
colors: {
  custom: {
    50: '#fa91f2',
    500: '#f257ec',
    950: '#000000',
  },
}
SCSS
$custom: #f257ec;
$custom-light: #fa91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f257ec",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 302.323,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71459,
    "c": 0.24868,
    "h": 329.4
  },
  "luminance": 0.3175
}

Semantic roles & 50–950 ramp

primary
#F257EC
secondary
#B8EDBA
accent
#E20C03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F257EC

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

Preview Lab → · Contrast checker → · Palette generator →

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