#F766EB#F766EB

#F766EB is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.6% C 0.231 H 331.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#F766EB
RGBrgb(247, 102, 235)
HSLhsl(305, 90%, 68%)
HSVhsv(305, 59%, 97%)
CMYKcmyk(0%, 58.7%, 4.9%, 3.1%)
CIE-LABlab(65.97, 71.05, -40.89)
CIE-LCHlch(65.97, 81.98, 330.08°)
OKLaboklab(73.64% 0.2021 -0.1121)
OKLCHoklch(73.64% 0.231 331)
XYZxyz(58.1043, 35.2791, 82.3304)
Luminance0.3528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F766EB #66F772
analogous
#BB66F7 #F766EB #F766A2
triadic
#F766EB #EBF766 #66EBF7
tetradic
#F766EB #F7BB66 #66F772 #66A2F7
square
#F766EB #F7BB66 #66F772 #66A2F7
split-complementary
#F766EB #A2F766 #66F7BB
monochromatic
#D70BC6 #F42CE3 #F766EB #FAA0F3 #FDDAFA

Accessibility & contrast

On white

2.61
#F766EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#F766EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F766EB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F766EB#FFFFFF#000000##000000
##F766EB1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#8DA8E7
Tritanopia (blue-blind)
#FF749F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f766eb;
/* rgb */ color: rgb(247, 102, 235);
/* oklch */ color: oklch(73.6% 0.231 331.0);
Tailwind
colors: {
  custom: {
    50: '#fd99f2',
    500: '#f766eb',
    950: '#000000',
  },
}
SCSS
$custom: #f766eb;
$custom-light: #fd99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f766eb",
  "rgb": {
    "r": 247,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 304.966,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73643,
    "c": 0.23108,
    "h": 331
  },
  "luminance": 0.35275
}

Semantic roles & 50–950 ramp

primary
#F766EB
secondary
#C7F2CA
accent
#E61300
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180F17
muted
#867E85

Preview Lab

Preview with #F766EB

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

Preview Lab → · Contrast checker → · Palette generator →

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