#F257EB#F257EB

#F257EB is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.4% C 0.248 H 329.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#F257EB
RGBrgb(242, 87, 235)
HSLhsl(303, 86%, 65%)
HSVhsv(303, 64%, 95%)
CMYKcmyk(0%, 64%, 2.9%, 5.1%)
CIE-LABlab(63.09, 75.80, -45.45)
CIE-LCHlch(63.09, 88.38, 329.05°)
OKLaboklab(71.41% 0.214 -0.1252)
OKLCHoklch(71.41% 0.248 329.7)
XYZxyz(55.0211, 31.6957, 81.8011)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257EB #57F25E
analogous
#AC57F2 #F257EB #F2579D
triadic
#F257EB #EBF257 #57EBF2
tetradic
#F257EB #F2AC57 #57F25E #579DF2
square
#F257EB #F2AC57 #57F25E #579DF2
split-complementary
#F257EB #9DF257 #57F2AC
monochromatic
#C00FB8 #EE1EE4 #F257EB #F690F2 #FBC9F9

Accessibility & contrast

On white

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

On black

7.34
#F257EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257EB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257EB#FFFFFF#000000##000000
##F257EB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#FA699A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f257eb;
/* rgb */ color: rgb(242, 87, 235);
/* oklch */ color: oklch(71.4% 0.248 329.7);
Tailwind
colors: {
  custom: {
    50: '#fa91f2',
    500: '#f257eb',
    950: '#000000',
  },
}
SCSS
$custom: #f257eb;
$custom-light: #fa91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f257eb",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 302.71,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71408,
    "c": 0.24793,
    "h": 329.7
  },
  "luminance": 0.31692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F257EB

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

Preview Lab → · Contrast checker → · Palette generator →

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