#F066E4#F066E4

#F066E4 is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.4% C 0.222 H 331.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#F066E4
RGBrgb(240, 102, 228)
HSLhsl(305, 82%, 67%)
HSVhsv(305, 58%, 94%)
CMYKcmyk(0%, 57.5%, 5%, 5.9%)
CIE-LABlab(64.67, 68.15, -39.10)
CIE-LCHlch(64.67, 78.57, 330.16°)
OKLaboklab(72.4% 0.1939 -0.1071)
OKLCHoklch(72.4% 0.222 331.1)
XYZxyz(54.6899, 33.6332, 76.9951)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F066E4 #66F072
analogous
#B766F0 #F066E4 #F0669F
triadic
#F066E4 #E4F066 #66E4F0
tetradic
#F066E4 #F0B766 #66F072 #669FF0
square
#F066E4 #F0B766 #66F072 #669FF0
split-complementary
#F066E4 #9FF066 #66F0B7
monochromatic
#C814B8 #EB2EDA #F066E4 #F59EEE #FBD5F8

Accessibility & contrast

On white

2.72
#F066E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#F066E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F066E4
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F066E4#FFFFFF#000000##000000
##F066E41.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E8
Deuteranopia (green-blind)
#8BA4E0
Tritanopia (blue-blind)
#F9739C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f066e4;
/* rgb */ color: rgb(240, 102, 228);
/* oklch */ color: oklch(72.4% 0.222 331.1);
Tailwind
colors: {
  custom: {
    50: '#f899ed',
    500: '#f066e4',
    950: '#000000',
  },
}
SCSS
$custom: #f066e4;
$custom-light: #f899ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f066e4",
  "rgb": {
    "r": 240,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 305.217,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72396,
    "c": 0.2215,
    "h": 331.1
  },
  "luminance": 0.33629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F066E4

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

Preview Lab → · Contrast checker → · Palette generator →

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