#F258EC#F258EC

#F258EC is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.6% C 0.247 H 329.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#F258EC
RGBrgb(242, 88, 236)
HSLhsl(302, 86%, 65%)
HSVhsv(302, 64%, 95%)
CMYKcmyk(0%, 63.6%, 2.5%, 5.1%)
CIE-LABlab(63.27, 75.58, -45.72)
CIE-LCHlch(63.27, 88.33, 328.83°)
OKLaboklab(71.56% 0.213 -0.126)
OKLCHoklch(71.56% 0.247 329.4)
XYZxyz(55.2475, 31.9167, 82.5913)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F258EC #58F25E
analogous
#AB58F2 #F258EC #F2589F
triadic
#F258EC #ECF258 #58ECF2
tetradic
#F258EC #F2AB58 #58F25E #589FF2
square
#F258EC #F2AB58 #58F25E #589FF2
split-complementary
#F258EC #9FF258 #58F2AB
monochromatic
#C10FBA #EE1FE6 #F258EC #F691F2 #FBCAF9

Accessibility & contrast

On white

2.84
#F258EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#F258EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F258EC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F258EC#FFFFFF#000000##000000
##F258EC1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#FA6A9B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f258ec;
/* rgb */ color: rgb(242, 88, 236);
/* oklch */ color: oklch(71.6% 0.247 329.4);
Tailwind
colors: {
  custom: {
    50: '#fa91f2',
    500: '#f258ec',
    950: '#000000',
  },
}
SCSS
$custom: #f258ec;
$custom-light: #fa91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f258ec",
  "rgb": {
    "r": 242,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 302.338,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71557,
    "c": 0.24744,
    "h": 329.4
  },
  "luminance": 0.31913
}

Semantic roles & 50–950 ramp

primary
#F258EC
secondary
#B8EDBB
accent
#E20C03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F258EC

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

Preview Lab → · Contrast checker → · Palette generator →

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