#F066EF#F066EF

#F066EF is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.9% C 0.230 H 327.9°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#F066EF
RGBrgb(240, 102, 239)
HSLhsl(300, 82%, 67%)
HSVhsv(300, 58%, 94%)
CMYKcmyk(0%, 57.5%, 0.4%, 5.9%)
CIE-LABlab(65.17, 69.95, -44.42)
CIE-LCHlch(65.17, 82.86, 327.59°)
OKLaboklab(72.93% 0.1951 -0.1224)
OKLCHoklch(72.93% 0.23 327.9)
XYZxyz(56.2657, 34.2636, 85.2946)
Luminance0.3426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F066EF #66F067
analogous
#AC66F0 #F066EF #F066AA
triadic
#F066EF #EFF066 #66EFF0
tetradic
#F066EF #F0AC66 #66F067 #66AAF0
square
#F066EF #F0AC66 #66F067 #66AAF0
split-complementary
#F066EF #AAF066 #66F0AC
monochromatic
#C814C7 #EB2EE9 #F066EF #F59EF5 #FBD5FB

Accessibility & contrast

On white

2.67
#F066EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#F066EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F066EF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F066EF#FFFFFF#000000##000000
##F066EF1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F3
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#F776A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f066ef;
/* rgb */ color: rgb(240, 102, 239);
/* oklch */ color: oklch(72.9% 0.230 327.9);
Tailwind
colors: {
  custom: {
    50: '#f899f4',
    500: '#f066ef',
    950: '#000000',
  },
}
SCSS
$custom: #f066ef;
$custom-light: #f899f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f066ef",
  "rgb": {
    "r": 240,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 300.435,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72925,
    "c": 0.23031,
    "h": 327.9
  },
  "luminance": 0.3426
}

Semantic roles & 50–950 ramp

primary
#F066EF
secondary
#C3EFC3
accent
#DF0907
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F066EF

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

Preview Lab → · Contrast checker → · Palette generator →

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