#F066E2#F066E2

#F066E2 is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.3% C 0.220 H 331.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#F066E2
RGBrgb(240, 102, 226)
HSLhsl(306, 82%, 67%)
HSVhsv(306, 58%, 94%)
CMYKcmyk(0%, 57.5%, 5.8%, 5.9%)
CIE-LABlab(64.58, 67.83, -38.12)
CIE-LCHlch(64.58, 77.81, 330.67°)
OKLaboklab(72.3% 0.1936 -0.1043)
OKLCHoklch(72.3% 0.22 331.7)
XYZxyz(54.4139, 33.5228, 75.5413)
Luminance0.3352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F066E2 #66F074
analogous
#B966F0 #F066E2 #F0669D
triadic
#F066E2 #E2F066 #66E2F0
tetradic
#F066E2 #F0B966 #66F074 #669DF0
square
#F066E2 #F0B966 #66F074 #669DF0
split-complementary
#F066E2 #9DF066 #66F0B9
monochromatic
#C814B6 #EB2ED7 #F066E2 #F59EED #FBD5F7

Accessibility & contrast

On white

2.73
#F066E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#F066E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F066E2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F066E2#FFFFFF#000000##000000
##F066E21.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E6
Deuteranopia (green-blind)
#8CA4DE
Tritanopia (blue-blind)
#F9729B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f066e2;
/* rgb */ color: rgb(240, 102, 226);
/* oklch */ color: oklch(72.3% 0.220 331.7);
Tailwind
colors: {
  custom: {
    50: '#f899eb',
    500: '#f066e2',
    950: '#000000',
  },
}
SCSS
$custom: #f066e2;
$custom-light: #f899eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f066e2",
  "rgb": {
    "r": 240,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 306.087,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72303,
    "c": 0.21993,
    "h": 331.7
  },
  "luminance": 0.33519
}

Semantic roles & 50–950 ramp

primary
#F066E2
secondary
#C3EFC7
accent
#DF1D07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F066E2

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

Preview Lab → · Contrast checker → · Palette generator →

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