#F258DC#F258DC

#F258DC is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.8% C 0.236 H 333.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#F258DC
RGBrgb(242, 88, 220)
HSLhsl(309, 86%, 65%)
HSVhsv(309, 64%, 95%)
CMYKcmyk(0%, 63.6%, 9.1%, 5.1%)
CIE-LABlab(62.53, 73.11, -37.95)
CIE-LCHlch(62.53, 82.37, 332.57°)
OKLaboklab(70.78% 0.2115 -0.1036)
OKLCHoklch(70.78% 0.236 333.9)
XYZxyz(53.0262, 31.0282, 70.8925)
Luminance0.3102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F258DC #58F26E
analogous
#BB58F2 #F258DC #F2588F
triadic
#F258DC #DCF258 #58DCF2
tetradic
#F258DC #F2BB58 #58F26E #588FF2
square
#F258DC #F2BB58 #58F26E #588FF2
split-complementary
#F258DC #8FF258 #58F2BB
monochromatic
#C10FA7 #EE1FD0 #F258DC #F691E8 #FBCAF4

Accessibility & contrast

On white

2.91
#F258DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#F258DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F258DC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F258DC#FFFFFF#000000##000000
##F258DC1.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E0
Deuteranopia (green-blind)
#889FD8
Tritanopia (blue-blind)
#FD6492
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f258dc;
/* rgb */ color: rgb(242, 88, 220);
/* oklch */ color: oklch(70.8% 0.236 333.9);
Tailwind
colors: {
  custom: {
    50: '#fa91e7',
    500: '#f258dc',
    950: '#000000',
  },
}
SCSS
$custom: #f258dc;
$custom-light: #fa91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f258dc",
  "rgb": {
    "r": 242,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 308.571,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70776,
    "c": 0.23556,
    "h": 333.9
  },
  "luminance": 0.31024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F258DC

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

Preview Lab → · Contrast checker → · Palette generator →

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