#F795DC#F795DC

#F795DC is a light, vivid pink. Relative luminance 0.464; OKLCH L 79.3% C 0.146 H 337.9°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#F795DC
RGBrgb(247, 149, 220)
HSLhsl(317, 86%, 78%)
HSVhsv(317, 40%, 97%)
CMYKcmyk(0%, 39.7%, 10.9%, 3.1%)
CIE-LABlab(73.83, 46.49, -20.48)
CIE-LCHlch(73.83, 50.80, 336.22°)
OKLaboklab(79.29% 0.1351 -0.0548)
OKLCHoklch(79.29% 0.146 337.9)
XYZxyz(62.0235, 46.4399, 73.3932)
Luminance0.4644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F795DC #95F7B0
analogous
#E195F7 #F795DC #F795AB
triadic
#F795DC #DCF795 #95DCF7
tetradic
#F795DC #F7E195 #95F7B0 #95ABF7
square
#F795DC #F7E195 #95F7B0 #95ABF7
split-complementary
#F795DC #ABF795 #95F7E1
monochromatic
#EE23B6 #F35CC9 #F795DC #FBCEEF #FDE3F6

Accessibility & contrast

On white

2.04
#F795DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#F795DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F795DC
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F795DC#FFFFFF#000000##000000
##F795DC1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDF
Deuteranopia (green-blind)
#B1BBD9
Tritanopia (blue-blind)
#FF98AF
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f795dc;
/* rgb */ color: rgb(247, 149, 220);
/* oklch */ color: oklch(79.3% 0.146 337.9);
Tailwind
colors: {
  custom: {
    50: '#fbb6e7',
    500: '#f795dc',
    950: '#000000',
  },
}
SCSS
$custom: #f795dc;
$custom-light: #fbb6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f795dc",
  "rgb": {
    "r": 247,
    "g": 149,
    "b": 220
  },
  "hsl": {
    "h": 316.531,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79293,
    "c": 0.14576,
    "h": 337.9
  },
  "luminance": 0.46436
}

Semantic roles & 50–950 ramp

primary
#F795DC
secondary
#D6F5DF
accent
#E24103
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F795DC

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

Preview Lab → · Contrast checker → · Palette generator →

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