#F162F1#F162F1

#F162F1 is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.7% C 0.238 H 327.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#F162F1
RGBrgb(241, 98, 241)
HSLhsl(300, 84%, 66%)
HSVhsv(300, 59%, 95%)
CMYKcmyk(0%, 59.3%, 0%, 5.5%)
CIE-LABlab(64.80, 72.20, -46.10)
CIE-LCHlch(64.80, 85.67, 327.44°)
OKLaboklab(72.71% 0.2011 -0.1272)
OKLCHoklch(72.71% 0.238 327.7)
XYZxyz(56.5197, 33.7906, 86.7473)
Luminance0.3379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F162F1 #62F162
analogous
#AA62F1 #F162F1 #F162AA
triadic
#F162F1 #F1F162 #62F1F1
tetradic
#F162F1 #F1AA62 #62F162 #62AAF1
square
#F162F1 #F1AA62 #62F162 #62AAF1
split-complementary
#F162F1 #AAF162 #62F1AA
monochromatic
#C712C7 #EC2AEC #F162F1 #F69AF6 #FBD2FB

Accessibility & contrast

On white

2.71
#F162F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#F162F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F162F1
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F162F1#FFFFFF#000000##000000
##F162F11.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#83A4ED
Tritanopia (blue-blind)
#F874A1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f162f1;
/* rgb */ color: rgb(241, 98, 241);
/* oklch */ color: oklch(72.7% 0.238 327.7);
Tailwind
colors: {
  custom: {
    50: '#f997f6',
    500: '#f162f1',
    950: '#000000',
  },
}
SCSS
$custom: #f162f1;
$custom-light: #f997f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f162f1",
  "rgb": {
    "r": 241,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 300,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.72711,
    "c": 0.23792,
    "h": 327.7
  },
  "luminance": 0.33787
}

Semantic roles & 50–950 ramp

primary
#F162F1
secondary
#C0EFC0
accent
#E00505
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #F162F1

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

Preview Lab → · Contrast checker → · Palette generator →

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