#F258E2#F258E2

#F258E2 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 71.1% C 0.240 H 332.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#F258E2
RGBrgb(242, 88, 226)
HSLhsl(306, 86%, 65%)
HSVhsv(306, 64%, 95%)
CMYKcmyk(0%, 63.6%, 6.6%, 5.1%)
CIE-LABlab(62.80, 74.02, -40.88)
CIE-LCHlch(62.80, 84.56, 331.09°)
OKLaboklab(71.06% 0.2122 -0.112)
OKLCHoklch(71.06% 0.24 332.2)
XYZxyz(53.8352, 31.3518, 75.1528)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F258E2 #58F268
analogous
#B558F2 #F258E2 #F25895
triadic
#F258E2 #E2F258 #58E2F2
tetradic
#F258E2 #F2B558 #58F268 #5895F2
square
#F258E2 #F2B558 #58F268 #5895F2
split-complementary
#F258E2 #95F258 #58F2B5
monochromatic
#C10FAE #EE1FD8 #F258E2 #F691EC #FBCAF6

Accessibility & contrast

On white

2.89
#F258E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#F258E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F258E2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F258E2#FFFFFF#000000##000000
##F258E21.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#86A0DE
Tritanopia (blue-blind)
#FC6696
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f258e2;
/* rgb */ color: rgb(242, 88, 226);
/* oklch */ color: oklch(71.1% 0.240 332.2);
Tailwind
colors: {
  custom: {
    50: '#fa91eb',
    500: '#f258e2',
    950: '#000000',
  },
}
SCSS
$custom: #f258e2;
$custom-light: #fa91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f258e2",
  "rgb": {
    "r": 242,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 306.234,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71063,
    "c": 0.23994,
    "h": 332.2
  },
  "luminance": 0.31348
}

Semantic roles & 50–950 ramp

primary
#F258E2
secondary
#B8EDBE
accent
#E21B03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F258E2

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

Preview Lab → · Contrast checker → · Palette generator →

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