#F766FB#F766FB

#F766FB is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.4% C 0.244 H 326.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#F766FB
RGBrgb(247, 102, 251)
HSLhsl(298, 95%, 69%)
HSVhsv(298, 59%, 98%)
CMYKcmyk(1.6%, 59.4%, 0%, 1.6%)
CIE-LABlab(66.71, 73.66, -48.55)
CIE-LCHlch(66.71, 88.22, 326.61°)
OKLaboklab(74.43% 0.2036 -0.1342)
OKLCHoklch(74.43% 0.244 326.6)
XYZxyz(60.5206, 36.2457, 95.0565)
Luminance0.3624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F766FB #6AFB66
analogous
#AD66FB #F766FB #FB66B5
triadic
#F766FB #FBF766 #66FBF7
tetradic
#F766FB #FBAD66 #6AFB66 #66B5FB
square
#F766FB #FBAD66 #6AFB66 #66B5FB
split-complementary
#F766FB #B5FB66 #66FBAD
monochromatic
#DB06E1 #F42AF9 #F766FB #FAA2FD #FDDDFE

Accessibility & contrast

On white

2.55
#F766FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#F766FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F766FB
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F766FB#FFFFFF#000000##000000
##F766FB1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#85A9F7
Tritanopia (blue-blind)
#FD7AA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f766fb;
/* rgb */ color: rgb(247, 102, 251);
/* oklch */ color: oklch(74.4% 0.244 326.6);
Tailwind
colors: {
  custom: {
    50: '#fd9afd',
    500: '#f766fb',
    950: '#000000',
  },
}
SCSS
$custom: #f766fb;
$custom-light: #fd9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#f766fb",
  "rgb": {
    "r": 247,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 298.389,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74425,
    "c": 0.24379,
    "h": 326.6
  },
  "luminance": 0.36242
}

Semantic roles & 50–950 ramp

primary
#F766FB
secondary
#CAF4C9
accent
#E60006
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F18
muted
#867E86

Preview Lab

Preview with #F766FB

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

Preview Lab → · Contrast checker → · Palette generator →

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