#F066DF#F066DF

#F066DF is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.2% C 0.218 H 332.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#F066DF
RGBrgb(240, 102, 223)
HSLhsl(307, 82%, 67%)
HSVhsv(307, 58%, 94%)
CMYKcmyk(0%, 57.5%, 7.1%, 5.9%)
CIE-LABlab(64.45, 67.36, -36.65)
CIE-LCHlch(64.45, 76.68, 331.45°)
OKLaboklab(72.16% 0.1932 -0.1001)
OKLCHoklch(72.16% 0.218 332.6)
XYZxyz(54.0058, 33.3596, 73.3923)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F066DF #66F077
analogous
#BC66F0 #F066DF #F0669A
triadic
#F066DF #DFF066 #66DFF0
tetradic
#F066DF #F0BC66 #66F077 #669AF0
square
#F066DF #F0BC66 #66F077 #669AF0
split-complementary
#F066DF #9AF066 #66F0BC
monochromatic
#C814B2 #EB2ED3 #F066DF #F59EEB #FBD5F6

Accessibility & contrast

On white

2.74
#F066DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#F066DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F066DF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F066DF#FFFFFF#000000##000000
##F066DF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6290E3
Deuteranopia (green-blind)
#8DA3DB
Tritanopia (blue-blind)
#FA7199
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f066df;
/* rgb */ color: rgb(240, 102, 223);
/* oklch */ color: oklch(72.2% 0.218 332.6);
Tailwind
colors: {
  custom: {
    50: '#f899e9',
    500: '#f066df',
    950: '#000000',
  },
}
SCSS
$custom: #f066df;
$custom-light: #f899e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f066df",
  "rgb": {
    "r": 240,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 307.391,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72164,
    "c": 0.21761,
    "h": 332.6
  },
  "luminance": 0.33356
}

Semantic roles & 50–950 ramp

primary
#F066DF
secondary
#C3EFC8
accent
#DF2207
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F066DF

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

Preview Lab → · Contrast checker → · Palette generator →

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