#F066EB#F066EB

#F066EB is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.7% C 0.227 H 329.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#F066EB
RGBrgb(240, 102, 235)
HSLhsl(302, 82%, 67%)
HSVhsv(302, 58%, 94%)
CMYKcmyk(0%, 57.5%, 2.1%, 5.9%)
CIE-LABlab(64.99, 69.29, -42.49)
CIE-LCHlch(64.99, 81.28, 328.48°)
OKLaboklab(72.73% 0.1947 -0.1168)
OKLCHoklch(72.73% 0.227 329)
XYZxyz(55.6814, 34.0298, 82.2168)
Luminance0.3403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F066EB #66F06B
analogous
#B066F0 #F066EB #F066A6
triadic
#F066EB #EBF066 #66EBF0
tetradic
#F066EB #F0B066 #66F06B #66A6F0
square
#F066EB #F0B066 #66F06B #66A6F0
split-complementary
#F066EB #A6F066 #66F0B0
monochromatic
#C814C1 #EB2EE4 #F066EB #F59EF2 #FBD5FA

Accessibility & contrast

On white

2.69
#F066EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#F066EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F066EB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F066EB#FFFFFF#000000##000000
##F066EB1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#88A4E7
Tritanopia (blue-blind)
#F8759F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f066eb;
/* rgb */ color: rgb(240, 102, 235);
/* oklch */ color: oklch(72.7% 0.227 329.0);
Tailwind
colors: {
  custom: {
    50: '#f899f2',
    500: '#f066eb',
    950: '#000000',
  },
}
SCSS
$custom: #f066eb;
$custom-light: #f899f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f066eb",
  "rgb": {
    "r": 240,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 302.174,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.22706,
    "h": 329
  },
  "luminance": 0.34026
}

Semantic roles & 50–950 ramp

primary
#F066EB
secondary
#C3EFC5
accent
#DF0F07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F066EB

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

Preview Lab → · Contrast checker → · Palette generator →

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