#F795FB#F795FB

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

Color values

HEX#F795FB
RGBrgb(247, 149, 251)
HSLhsl(298, 93%, 78%)
HSVhsv(298, 41%, 98%)
CMYKcmyk(1.6%, 40.6%, 0%, 1.6%)
CIE-LABlab(74.97, 51.78, -35.63)
CIE-LCHlch(74.97, 62.86, 325.47°)
OKLaboklab(80.53% 0.1424 -0.0974)
OKLCHoklch(80.53% 0.173 325.6)
XYZxyz(66.5163, 48.2370, 97.0550)
Luminance0.4823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F795FB #99FB95
analogous
#C495FB #F795FB #FB95CC
triadic
#F795FB #FBF795 #95FBF7
tetradic
#F795FB #FBC495 #99FB95 #95CCFB
square
#F795FB #FBC495 #99FB95 #95CCFB
split-complementary
#F795FB #CCFB95 #95FBC4
monochromatic
#EE1FF7 #F35AF9 #F795FB #FBD0FD #FDE2FE

Accessibility & contrast

On white

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

On black

10.65
#F795FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F795FB
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F795FB#FFFFFF#000000##000000
##F795FB1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB1FF
Deuteranopia (green-blind)
#A6BDF8
Tritanopia (blue-blind)
#FCA0BC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #f795fb;
/* rgb */ color: rgb(247, 149, 251);
/* oklch */ color: oklch(80.5% 0.173 325.6);
Tailwind
colors: {
  custom: {
    50: '#fbb6fd',
    500: '#f795fb',
    950: '#000000',
  },
}
SCSS
$custom: #f795fb;
$custom-light: #fbb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f795fb",
  "rgb": {
    "r": 247,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 297.647,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.8053,
    "c": 0.17255,
    "h": 325.6
  },
  "luminance": 0.48234
}

Semantic roles & 50–950 ramp

primary
#F795FB
secondary
#D6F6D5
accent
#E60009
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #F795FB

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

Preview Lab → · Contrast checker → · Palette generator →

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