#F258F2#F258F2

#F258F2 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.9% C 0.252 H 327.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#F258F2
RGBrgb(242, 88, 242)
HSLhsl(300, 86%, 65%)
HSVhsv(300, 64%, 95%)
CMYKcmyk(0%, 63.6%, 0%, 5.1%)
CIE-LABlab(63.57, 76.54, -48.59)
CIE-LCHlch(63.57, 90.66, 327.59°)
OKLaboklab(71.86% 0.2133 -0.1343)
OKLCHoklch(71.86% 0.252 327.8)
XYZxyz(56.1339, 32.2713, 87.2596)
Luminance0.3227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F258F2 #58F258
analogous
#A558F2 #F258F2 #F258A5
triadic
#F258F2 #F2F258 #58F2F2
tetradic
#F258F2 #F2A558 #58F258 #58A5F2
square
#F258F2 #F2A558 #58F258 #58A5F2
split-complementary
#F258F2 #A5F258 #58F2A5
monochromatic
#C10FC1 #EE1FEE #F258F2 #F691F6 #FBCAFB

Accessibility & contrast

On white

2.82
#F258F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#F258F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F258F2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F258F2#FFFFFF#000000##000000
##F258F21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF7
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#F96D9E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f258f2;
/* rgb */ color: rgb(242, 88, 242);
/* oklch */ color: oklch(71.9% 0.252 327.8);
Tailwind
colors: {
  custom: {
    50: '#fa92f7',
    500: '#f258f2',
    950: '#000000',
  },
}
SCSS
$custom: #f258f2;
$custom-light: #fa92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f258f2",
  "rgb": {
    "r": 242,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.25206,
    "h": 327.8
  },
  "luminance": 0.32267
}

Semantic roles & 50–950 ramp

primary
#F258F2
secondary
#B8EDB8
accent
#E20303
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F258F2

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

Preview Lab → · Contrast checker → · Palette generator →

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