#F162EC#F162EC

#F162EC is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.5% C 0.234 H 329.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#F162EC
RGBrgb(241, 98, 236)
HSLhsl(302, 84%, 66%)
HSVhsv(302, 59%, 95%)
CMYKcmyk(0%, 59.3%, 2.1%, 5.5%)
CIE-LABlab(64.56, 71.38, -43.70)
CIE-LCHlch(64.56, 83.70, 328.52°)
OKLaboklab(72.46% 0.2006 -0.1203)
OKLCHoklch(72.46% 0.234 329.1)
XYZxyz(55.7831, 33.4960, 82.8679)
Luminance0.3349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F162EC #62F167
analogous
#AF62F1 #F162EC #F162A5
triadic
#F162EC #ECF162 #62ECF1
tetradic
#F162EC #F1AF62 #62F167 #62A5F1
square
#F162EC #F1AF62 #62F167 #62A5F1
split-complementary
#F162EC #A5F162 #62F1AF
monochromatic
#C712C1 #EC2AE5 #F162EC #F69AF3 #FBD2FA

Accessibility & contrast

On white

2.73
#F162EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#F162EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F162EC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F162EC#FFFFFF#000000##000000
##F162EC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#F9729E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f162ec;
/* rgb */ color: rgb(241, 98, 236);
/* oklch */ color: oklch(72.5% 0.234 329.1);
Tailwind
colors: {
  custom: {
    50: '#f997f2',
    500: '#f162ec',
    950: '#000000',
  },
}
SCSS
$custom: #f162ec;
$custom-light: #f997f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f162ec",
  "rgb": {
    "r": 241,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 302.098,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.72463,
    "c": 0.23392,
    "h": 329.1
  },
  "luminance": 0.33492
}

Semantic roles & 50–950 ramp

primary
#F162EC
secondary
#C0EFC2
accent
#E00D05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F162EC

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

Preview Lab → · Contrast checker → · Palette generator →

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