#F795EB#F795EB

#F795EB is a light, vivid purple. Relative luminance 0.473; OKLCH L 79.9% C 0.158 H 331.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#F795EB
RGBrgb(247, 149, 235)
HSLhsl(307, 86%, 78%)
HSVhsv(307, 40%, 97%)
CMYKcmyk(0%, 39.7%, 4.9%, 3.1%)
CIE-LABlab(74.36, 48.98, -27.87)
CIE-LCHlch(74.36, 56.35, 330.36°)
OKLaboklab(79.87% 0.1389 -0.0755)
OKLCHoklch(79.87% 0.158 331.5)
XYZxyz(64.0999, 47.2705, 84.3289)
Luminance0.4727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F795EB #95F7A1
analogous
#D295F7 #F795EB #F795BA
triadic
#F795EB #EBF795 #95EBF7
tetradic
#F795EB #F7D295 #95F7A1 #95BAF7
square
#F795EB #F7D295 #95F7A1 #95BAF7
split-complementary
#F795EB #BAF795 #95F7D2
monochromatic
#EE23D6 #F35CE0 #F795EB #FBCEF6 #FDE3FA

Accessibility & contrast

On white

2.01
#F795EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#F795EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F795EB
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F795EB#FFFFFF#000000##000000
##F795EB1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEE
Deuteranopia (green-blind)
#ACBCE8
Tritanopia (blue-blind)
#FF9BB5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f795eb;
/* rgb */ color: rgb(247, 149, 235);
/* oklch */ color: oklch(79.9% 0.158 331.5);
Tailwind
colors: {
  custom: {
    50: '#fbb6f1',
    500: '#f795eb',
    950: '#000000',
  },
}
SCSS
$custom: #f795eb;
$custom-light: #fbb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f795eb",
  "rgb": {
    "r": 247,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 307.347,
    "s": 85.965,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7987,
    "c": 0.15807,
    "h": 331.5
  },
  "luminance": 0.47267
}

Semantic roles & 50–950 ramp

primary
#F795EB
secondary
#D6F5DA
accent
#E21E03
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F795EB

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

Preview Lab → · Contrast checker → · Palette generator →

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