#F162E7#F162E7

#F162E7 is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 72.2% C 0.230 H 330.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#F162E7
RGBrgb(241, 98, 231)
HSLhsl(304, 84%, 66%)
HSVhsv(304, 59%, 95%)
CMYKcmyk(0%, 59.3%, 4.1%, 5.5%)
CIE-LABlab(64.33, 70.57, -41.29)
CIE-LCHlch(64.33, 81.76, 329.67°)
OKLaboklab(72.22% 0.2001 -0.1133)
OKLCHoklch(72.22% 0.23 330.5)
XYZxyz(55.0668, 33.2095, 79.0955)
Luminance0.3321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F162E7 #62F16C
analogous
#B462F1 #F162E7 #F162A0
triadic
#F162E7 #E7F162 #62E7F1
tetradic
#F162E7 #F1B462 #62F16C #62A0F1
square
#F162E7 #F1B462 #62F16C #62A0F1
split-complementary
#F162E7 #A0F162 #62F1B4
monochromatic
#C712BA #EC2ADE #F162E7 #F69AF0 #FBD2F8

Accessibility & contrast

On white

2.75
#F162E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#F162E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F162E7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F162E7#FFFFFF#000000##000000
##F162E71.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#88A3E3
Tritanopia (blue-blind)
#FA709C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f162e7;
/* rgb */ color: rgb(241, 98, 231);
/* oklch */ color: oklch(72.2% 0.230 330.5);
Tailwind
colors: {
  custom: {
    50: '#f997ef',
    500: '#f162e7',
    950: '#000000',
  },
}
SCSS
$custom: #f162e7;
$custom-light: #f997ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f162e7",
  "rgb": {
    "r": 241,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 304.196,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7222,
    "c": 0.22999,
    "h": 330.5
  },
  "luminance": 0.33206
}

Semantic roles & 50–950 ramp

primary
#F162E7
secondary
#C0EFC3
accent
#E01505
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F162E7

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

Preview Lab → · Contrast checker → · Palette generator →

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