#F258F6#F258F6

#F258F6 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 72.1% C 0.255 H 326.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#F258F6
RGBrgb(242, 88, 246)
HSLhsl(298, 90%, 65%)
HSVhsv(298, 64%, 96%)
CMYKcmyk(1.6%, 64.2%, 0%, 3.5%)
CIE-LABlab(63.77, 77.19, -50.49)
CIE-LCHlch(63.77, 92.24, 326.81°)
OKLaboklab(72.07% 0.2135 -0.1398)
OKLCHoklch(72.07% 0.255 326.8)
XYZxyz(56.7412, 32.5142, 90.4582)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F258F6 #5CF658
analogous
#A358F6 #F258F6 #F658AB
triadic
#F258F6 #F6F258 #58F6F2
tetradic
#F258F6 #F6A358 #5CF658 #58ABF6
square
#F258F6 #F6A358 #5CF658 #58ABF6
split-complementary
#F258F6 #ABF658 #58F6A3
monochromatic
#C40BC9 #ED1EF3 #F258F6 #F792F9 #FBCCFC

Accessibility & contrast

On white

2.80
#F258F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#F258F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F258F6
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F258F6#FFFFFF#000000##000000
##F258F61.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFB
Deuteranopia (green-blind)
#7CA1F2
Tritanopia (blue-blind)
#F86EA0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f258f6;
/* rgb */ color: rgb(242, 88, 246);
/* oklch */ color: oklch(72.1% 0.255 326.8);
Tailwind
colors: {
  custom: {
    50: '#fa92fa',
    500: '#f258f6',
    950: '#000000',
  },
}
SCSS
$custom: #f258f6;
$custom-light: #fa92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f258f6",
  "rgb": {
    "r": 242,
    "g": 88,
    "b": 246
  },
  "hsl": {
    "h": 298.481,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.72072,
    "c": 0.25518,
    "h": 326.8
  },
  "luminance": 0.32511
}

Semantic roles & 50–950 ramp

primary
#F258F6
secondary
#BCEFBA
accent
#E60006
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F258F6

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

Preview Lab → · Contrast checker → · Palette generator →

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