#F072EF#F072EF

#F072EF is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.4% C 0.213 H 327.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#F072EF
RGBrgb(240, 114, 239)
HSLhsl(300, 81%, 69%)
HSVhsv(300, 53%, 94%)
CMYKcmyk(0%, 52.5%, 0.4%, 5.9%)
CIE-LABlab(67.12, 64.66, -41.35)
CIE-LCHlch(67.12, 76.76, 327.40°)
OKLaboklab(74.36% 0.1802 -0.1137)
OKLCHoklch(74.36% 0.213 327.8)
XYZxyz(57.5316, 36.7953, 85.7165)
Luminance0.3679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072EF #72F073
analogous
#B272F0 #F072EF #F072B0
triadic
#F072EF #EFF072 #72EFF0
tetradic
#F072EF #F0B272 #72F073 #72B0F0
square
#F072EF #F0B272 #72F073 #72B0F0
split-complementary
#F072EF #B0F072 #72F0B2
monochromatic
#D116D0 #EA3BE9 #F072EF #F6A9F5 #FCE1FC

Accessibility & contrast

On white

2.51
#F072EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#F072EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072EF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072EF#FFFFFF#000000##000000
##F072EF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#8DA9EB
Tritanopia (blue-blind)
#F780A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f072ef;
/* rgb */ color: rgb(240, 114, 239);
/* oklch */ color: oklch(74.4% 0.213 327.8);
Tailwind
colors: {
  custom: {
    50: '#f8a0f4',
    500: '#f072ef',
    950: '#000000',
  },
}
SCSS
$custom: #f072ef;
$custom-light: #f8a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f072ef",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 300.476,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74355,
    "c": 0.21303,
    "h": 327.8
  },
  "luminance": 0.36792
}

Semantic roles & 50–950 ramp

primary
#F072EF
secondary
#CDF1CD
accent
#DD0A08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F072EF

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

Preview Lab → · Contrast checker → · Palette generator →

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