#F257DB#F257DB

#F257DB is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.6% C 0.236 H 334.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#F257DB
RGBrgb(242, 87, 219)
HSLhsl(309, 86%, 65%)
HSVhsv(309, 64%, 95%)
CMYKcmyk(0%, 64%, 9.5%, 5.1%)
CIE-LABlab(62.35, 73.35, -37.67)
CIE-LCHlch(62.35, 82.45, 332.82°)
OKLaboklab(70.63% 0.2125 -0.1028)
OKLCHoklch(70.63% 0.236 334.2)
XYZxyz(52.8127, 30.8124, 70.1699)
Luminance0.3081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257DB #57F26E
analogous
#BB57F2 #F257DB #F2578E
triadic
#F257DB #DBF257 #57DBF2
tetradic
#F257DB #F2BB57 #57F26E #578EF2
square
#F257DB #F2BB57 #57F26E #578EF2
split-complementary
#F257DB #8EF257 #57F2BB
monochromatic
#C00FA6 #EE1ECF #F257DB #F690E7 #FBC9F3

Accessibility & contrast

On white

2.93
#F257DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#F257DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257DB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257DB#FFFFFF#000000##000000
##F257DB1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DF
Deuteranopia (green-blind)
#889FD7
Tritanopia (blue-blind)
#FD6392
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f257db;
/* rgb */ color: rgb(242, 87, 219);
/* oklch */ color: oklch(70.6% 0.236 334.2);
Tailwind
colors: {
  custom: {
    50: '#fa91e6',
    500: '#f257db',
    950: '#000000',
  },
}
SCSS
$custom: #f257db;
$custom-light: #fa91e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f257db",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 308.903,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70629,
    "c": 0.23611,
    "h": 334.2
  },
  "luminance": 0.30808
}

Semantic roles & 50–950 ramp

primary
#F257DB
secondary
#B8EDC0
accent
#E22403
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F257DB

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

Preview Lab → · Contrast checker → · Palette generator →

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