#F066EA#F066EA

#F066EA is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.7% C 0.226 H 329.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#F066EA
RGBrgb(240, 102, 234)
HSLhsl(303, 82%, 67%)
HSVhsv(303, 58%, 94%)
CMYKcmyk(0%, 57.5%, 2.5%, 5.9%)
CIE-LABlab(64.94, 69.13, -42.01)
CIE-LCHlch(64.94, 80.89, 328.71°)
OKLaboklab(72.68% 0.1946 -0.1154)
OKLCHoklch(72.68% 0.226 329.3)
XYZxyz(55.5373, 33.9722, 81.4580)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F066EA #66F06C
analogous
#B166F0 #F066EA #F066A5
triadic
#F066EA #EAF066 #66EAF0
tetradic
#F066EA #F0B166 #66F06C #66A5F0
square
#F066EA #F0B166 #66F06C #66A5F0
split-complementary
#F066EA #A5F066 #66F0B1
monochromatic
#C814C0 #EB2EE2 #F066EA #F59EF2 #FBD5F9

Accessibility & contrast

On white

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

On black

7.79
#F066EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F066EA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F066EA#FFFFFF#000000##000000
##F066EA1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EE
Deuteranopia (green-blind)
#88A4E6
Tritanopia (blue-blind)
#F8759F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f066ea;
/* rgb */ color: rgb(240, 102, 234);
/* oklch */ color: oklch(72.7% 0.226 329.3);
Tailwind
colors: {
  custom: {
    50: '#f899f1',
    500: '#f066ea',
    950: '#000000',
  },
}
SCSS
$custom: #f066ea;
$custom-light: #f899f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f066ea",
  "rgb": {
    "r": 240,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 302.609,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72682,
    "c": 0.22626,
    "h": 329.3
  },
  "luminance": 0.33969
}

Semantic roles & 50–950 ramp

primary
#F066EA
secondary
#C3EFC5
accent
#DF1007
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F066EA

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

Preview Lab → · Contrast checker → · Palette generator →

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