#F795FA#F795FA

#F795FA is a light, vivid purple. Relative luminance 0.482; OKLCH L 80.5% C 0.172 H 326.0°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#F795FA
RGBrgb(247, 149, 250)
HSLhsl(298, 91%, 78%)
HSVhsv(298, 40%, 98%)
CMYKcmyk(1.2%, 40.4%, 0%, 2%)
CIE-LABlab(74.93, 51.61, -35.15)
CIE-LCHlch(74.93, 62.44, 325.74°)
OKLaboklab(80.49% 0.1422 -0.096)
OKLCHoklch(80.49% 0.172 326)
XYZxyz(66.3591, 48.1741, 96.2270)
Luminance0.4817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F795FA #98FA95
analogous
#C495FA #F795FA #FA95CA
triadic
#F795FA #FAF795 #95FAF7
tetradic
#F795FA #FAC495 #98FA95 #95CAFA
square
#F795FA #FAC495 #98FA95 #95CAFA
split-complementary
#F795FA #CAFA95 #95FAC4
monochromatic
#EE20F4 #F35BF7 #F795FA #FBCFFD #FDE2FE

Accessibility & contrast

On white

1.97
#F795FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#F795FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F795FA
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F795FA#FFFFFF#000000##000000
##F795FA1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FE
Deuteranopia (green-blind)
#A6BDF7
Tritanopia (blue-blind)
#FC9FBC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f795fa;
/* rgb */ color: rgb(247, 149, 250);
/* oklch */ color: oklch(80.5% 0.172 326.0);
Tailwind
colors: {
  custom: {
    50: '#fbb6fc',
    500: '#f795fa',
    950: '#000000',
  },
}
SCSS
$custom: #f795fa;
$custom-light: #fbb6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f795fa",
  "rgb": {
    "r": 247,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 298.218,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.80487,
    "c": 0.17161,
    "h": 326
  },
  "luminance": 0.48171
}

Semantic roles & 50–950 ramp

primary
#F795FA
secondary
#D6F6D5
accent
#E60007
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F795FA

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

Preview Lab → · Contrast checker → · Palette generator →

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