#F066EC#F066EC

#F066EC is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.8% C 0.228 H 328.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#F066EC
RGBrgb(240, 102, 236)
HSLhsl(302, 82%, 67%)
HSVhsv(302, 58%, 94%)
CMYKcmyk(0%, 57.5%, 1.7%, 5.9%)
CIE-LABlab(65.03, 69.46, -42.97)
CIE-LCHlch(65.03, 81.67, 328.25°)
OKLaboklab(72.78% 0.1948 -0.1182)
OKLCHoklch(72.78% 0.228 328.7)
XYZxyz(55.8262, 34.0878, 82.9798)
Luminance0.3408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F066EC #66F06A
analogous
#AF66F0 #F066EC #F066A7
triadic
#F066EC #ECF066 #66ECF0
tetradic
#F066EC #F0AF66 #66F06A #66A7F0
square
#F066EC #F0AF66 #66F06A #66A7F0
split-complementary
#F066EC #A7F066 #66F0AF
monochromatic
#C814C3 #EB2EE5 #F066EC #F59EF3 #FBD5FA

Accessibility & contrast

On white

2.69
#F066EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#F066EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F066EC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F066EC#FFFFFF#000000##000000
##F066EC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#F775A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f066ec;
/* rgb */ color: rgb(240, 102, 236);
/* oklch */ color: oklch(72.8% 0.228 328.7);
Tailwind
colors: {
  custom: {
    50: '#f899f2',
    500: '#f066ec',
    950: '#000000',
  },
}
SCSS
$custom: #f066ec;
$custom-light: #f899f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f066ec",
  "rgb": {
    "r": 240,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 301.739,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72779,
    "c": 0.22787,
    "h": 328.7
  },
  "luminance": 0.34084
}

Semantic roles & 50–950 ramp

primary
#F066EC
secondary
#C3EFC4
accent
#DF0D07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F066EC

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

Preview Lab → · Contrast checker → · Palette generator →

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