#F662EC#F662EC

#F662EC is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 73.1% C 0.237 H 330.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#F662EC
RGBrgb(246, 98, 236)
HSLhsl(304, 89%, 67%)
HSVhsv(304, 60%, 96%)
CMYKcmyk(0%, 60.2%, 4.1%, 3.5%)
CIE-LABlab(65.27, 72.61, -42.54)
CIE-LCHlch(65.27, 84.15, 329.63°)
OKLaboklab(73.12% 0.2059 -0.1168)
OKLCHoklch(73.12% 0.237 330.4)
XYZxyz(57.5137, 34.3884, 82.9490)
Luminance0.3438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F662EC #62F66C
analogous
#B662F6 #F662EC #F662A2
triadic
#F662EC #ECF662 #62ECF6
tetradic
#F662EC #F6B662 #62F66C #62A2F6
square
#F662EC #F6B662 #62F66C #62A2F6
split-complementary
#F662EC #A2F662 #62F6B6
monochromatic
#D20CC4 #F328E5 #F662EC #F99CF3 #FDD6FA

Accessibility & contrast

On white

2.67
#F662EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#F662EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F662EC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F662EC#FFFFFF#000000##000000
##F662EC1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#FF719E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f662ec;
/* rgb */ color: rgb(246, 98, 236);
/* oklch */ color: oklch(73.1% 0.237 330.4);
Tailwind
colors: {
  custom: {
    50: '#fc97f2',
    500: '#f662ec',
    950: '#000000',
  },
}
SCSS
$custom: #f662ec;
$custom-light: #fc97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f662ec",
  "rgb": {
    "r": 246,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 304.054,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73121,
    "c": 0.23671,
    "h": 330.4
  },
  "luminance": 0.34384
}

Semantic roles & 50–950 ramp

primary
#F662EC
secondary
#C3F1C6
accent
#E61000
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F662EC

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

Preview Lab → · Contrast checker → · Palette generator →

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