#F066DC#F066DC

#F066DC is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 72.0% C 0.215 H 333.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#F066DC
RGBrgb(240, 102, 220)
HSLhsl(309, 82%, 67%)
HSVhsv(309, 58%, 94%)
CMYKcmyk(0%, 57.5%, 8.3%, 5.9%)
CIE-LABlab(64.32, 66.89, -35.17)
CIE-LCHlch(64.32, 75.57, 332.26°)
OKLaboklab(72.03% 0.1928 -0.0959)
OKLCHoklch(72.03% 0.215 333.6)
XYZxyz(53.6049, 33.1992, 71.2810)
Luminance0.3320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F066DC #66F07A
analogous
#BF66F0 #F066DC #F06697
triadic
#F066DC #DCF066 #66DCF0
tetradic
#F066DC #F0BF66 #66F07A #6697F0
square
#F066DC #F0BF66 #66F07A #6697F0
split-complementary
#F066DC #97F066 #66F0BF
monochromatic
#C814AE #EB2ECF #F066DC #F59EE9 #FBD5F5

Accessibility & contrast

On white

2.75
#F066DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#F066DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F066DC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F066DC#FFFFFF#000000##000000
##F066DC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#8EA3D8
Tritanopia (blue-blind)
#FA7098
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f066dc;
/* rgb */ color: rgb(240, 102, 220);
/* oklch */ color: oklch(72.0% 0.215 333.6);
Tailwind
colors: {
  custom: {
    50: '#f898e7',
    500: '#f066dc',
    950: '#000000',
  },
}
SCSS
$custom: #f066dc;
$custom-light: #f898e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f066dc",
  "rgb": {
    "r": 240,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 308.696,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72027,
    "c": 0.21532,
    "h": 333.6
  },
  "luminance": 0.33195
}

Semantic roles & 50–950 ramp

primary
#F066DC
secondary
#C3EFC9
accent
#DF2607
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F066DC

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

Preview Lab → · Contrast checker → · Palette generator →

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