#F162DC#F162DC

#F162DC is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.7% C 0.222 H 333.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#F162DC
RGBrgb(241, 98, 220)
HSLhsl(309, 84%, 66%)
HSVhsv(309, 59%, 95%)
CMYKcmyk(0%, 59.3%, 8.7%, 5.5%)
CIE-LABlab(63.84, 68.85, -35.91)
CIE-LCHlch(63.84, 77.65, 332.45°)
OKLaboklab(71.7% 0.1988 -0.0979)
OKLCHoklch(71.7% 0.222 333.8)
XYZxyz(53.5618, 32.6075, 71.1691)
Luminance0.3260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F162DC #62F177
analogous
#BF62F1 #F162DC #F16295
triadic
#F162DC #DCF162 #62DCF1
tetradic
#F162DC #F1BF62 #62F177 #6295F1
square
#F162DC #F1BF62 #62F177 #6295F1
split-complementary
#F162DC #95F162 #62F1BF
monochromatic
#C712AC #EC2ACF #F162DC #F69AE9 #FBD2F5

Accessibility & contrast

On white

2.79
#F162DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#F162DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F162DC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F162DC#FFFFFF#000000##000000
##F162DC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DE0
Deuteranopia (green-blind)
#8DA2D8
Tritanopia (blue-blind)
#FB6C96
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f162dc;
/* rgb */ color: rgb(241, 98, 220);
/* oklch */ color: oklch(71.7% 0.222 333.8);
Tailwind
colors: {
  custom: {
    50: '#f996e7',
    500: '#f162dc',
    950: '#000000',
  },
}
SCSS
$custom: #f162dc;
$custom-light: #f996e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f162dc",
  "rgb": {
    "r": 241,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 308.811,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71704,
    "c": 0.22158,
    "h": 333.8
  },
  "luminance": 0.32603
}

Semantic roles & 50–950 ramp

primary
#F162DC
secondary
#C0EFC7
accent
#E02605
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F162DC

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

Preview Lab → · Contrast checker → · Palette generator →

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