#F258F4#F258F4

#F258F4 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 72.0% C 0.254 H 327.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#F258F4
RGBrgb(242, 88, 244)
HSLhsl(299, 88%, 65%)
HSVhsv(299, 64%, 96%)
CMYKcmyk(0.8%, 63.9%, 0%, 4.3%)
CIE-LABlab(63.67, 76.86, -49.54)
CIE-LCHlch(63.67, 91.45, 327.20°)
OKLaboklab(71.97% 0.2134 -0.137)
OKLCHoklch(71.97% 0.254 327.3)
XYZxyz(56.4359, 32.3921, 88.8502)
Luminance0.3239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F258F4 #5AF458
analogous
#A458F4 #F258F4 #F458A8
triadic
#F258F4 #F4F258 #58F4F2
tetradic
#F258F4 #F4A458 #5AF458 #58A8F4
square
#F258F4 #F4A458 #5AF458 #58A8F4
split-complementary
#F258F4 #A8F458 #58F4A4
monochromatic
#C20DC5 #EE1FF0 #F258F4 #F691F8 #FBCBFC

Accessibility & contrast

On white

2.81
#F258F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#F258F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F258F4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F258F4#FFFFFF#000000##000000
##F258F41.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF9
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#F96E9F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f258f4;
/* rgb */ color: rgb(242, 88, 244);
/* oklch */ color: oklch(72.0% 0.254 327.3);
Tailwind
colors: {
  custom: {
    50: '#fa92f8',
    500: '#f258f4',
    950: '#000000',
  },
}
SCSS
$custom: #f258f4;
$custom-light: #fa92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f258f4",
  "rgb": {
    "r": 242,
    "g": 88,
    "b": 244
  },
  "hsl": {
    "h": 299.231,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.71967,
    "c": 0.25361,
    "h": 327.3
  },
  "luminance": 0.32388
}

Semantic roles & 50–950 ramp

primary
#F258F4
secondary
#BAEEB9
accent
#E40104
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F258F4

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

Preview Lab → · Contrast checker → · Palette generator →

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