#F066E8#F066E8

#F066E8 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.6% C 0.225 H 329.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#F066E8
RGBrgb(240, 102, 232)
HSLhsl(303, 82%, 67%)
HSVhsv(303, 58%, 94%)
CMYKcmyk(0%, 57.5%, 3.3%, 5.9%)
CIE-LABlab(64.85, 68.80, -41.04)
CIE-LCHlch(64.85, 80.11, 329.18°)
OKLaboklab(72.59% 0.1944 -0.1126)
OKLCHoklch(72.59% 0.225 329.9)
XYZxyz(55.2516, 33.8579, 79.9534)
Luminance0.3385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F066E8 #66F06E
analogous
#B366F0 #F066E8 #F066A3
triadic
#F066E8 #E8F066 #66E8F0
tetradic
#F066E8 #F0B366 #66F06E #66A3F0
square
#F066E8 #F0B366 #66F06E #66A3F0
split-complementary
#F066E8 #A3F066 #66F0B3
monochromatic
#C814BE #EB2EE0 #F066E8 #F59EF0 #FBD5F9

Accessibility & contrast

On white

2.70
#F066E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#F066E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F066E8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F066E8#FFFFFF#000000##000000
##F066E81.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#89A4E4
Tritanopia (blue-blind)
#F8749E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f066e8;
/* rgb */ color: rgb(240, 102, 232);
/* oklch */ color: oklch(72.6% 0.225 329.9);
Tailwind
colors: {
  custom: {
    50: '#f899f0',
    500: '#f066e8',
    950: '#000000',
  },
}
SCSS
$custom: #f066e8;
$custom-light: #f899f0;
$custom-dark: #000000;
JSON
{
  "hex": "#f066e8",
  "rgb": {
    "r": 240,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 303.478,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72586,
    "c": 0.22466,
    "h": 329.9
  },
  "luminance": 0.33854
}

Semantic roles & 50–950 ramp

primary
#F066E8
secondary
#C3EFC6
accent
#DF1307
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F066E8

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

Preview Lab → · Contrast checker → · Palette generator →

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