#F072EC#F072EC

#F072EC is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.2% C 0.210 H 328.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F072EC
RGBrgb(240, 114, 236)
HSLhsl(302, 81%, 69%)
HSVhsv(302, 53%, 94%)
CMYKcmyk(0%, 52.5%, 1.7%, 5.9%)
CIE-LABlab(66.99, 64.16, -39.91)
CIE-LCHlch(66.99, 75.55, 328.12°)
OKLaboklab(74.21% 0.1798 -0.1095)
OKLCHoklch(74.21% 0.21 328.7)
XYZxyz(57.0921, 36.6195, 83.4017)
Luminance0.3662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072EC #72F076
analogous
#B572F0 #F072EC #F072AD
triadic
#F072EC #ECF072 #72ECF0
tetradic
#F072EC #F0B572 #72F076 #72ADF0
square
#F072EC #F0B572 #72F076 #72ADF0
split-complementary
#F072EC #ADF072 #72F0B5
monochromatic
#D116CB #EA3BE5 #F072EC #F6A9F3 #FCE1FB

Accessibility & contrast

On white

2.52
#F072EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#F072EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072EC
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072EC#FFFFFF#000000##000000
##F072EC1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#F77FA5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f072ec;
/* rgb */ color: rgb(240, 114, 236);
/* oklch */ color: oklch(74.2% 0.210 328.7);
Tailwind
colors: {
  custom: {
    50: '#f8a0f2',
    500: '#f072ec',
    950: '#000000',
  },
}
SCSS
$custom: #f072ec;
$custom-light: #f8a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f072ec",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 301.905,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74214,
    "c": 0.21049,
    "h": 328.7
  },
  "luminance": 0.36616
}

Semantic roles & 50–950 ramp

primary
#F072EC
secondary
#CDF1CE
accent
#DD0F08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F072EC

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

Preview Lab → · Contrast checker → · Palette generator →

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