#F05CEC#F05CEC

#F05CEC is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.7% C 0.241 H 328.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#F05CEC
RGBrgb(240, 92, 236)
HSLhsl(302, 83%, 65%)
HSVhsv(302, 62%, 94%)
CMYKcmyk(0%, 61.7%, 1.7%, 5.9%)
CIE-LABlab(63.54, 73.56, -45.32)
CIE-LCHlch(63.54, 86.40, 328.36°)
OKLaboklab(71.69% 0.2065 -0.1249)
OKLCHoklch(71.69% 0.241 328.8)
XYZxyz(54.9021, 32.2394, 82.6717)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05CEC #5CF060
analogous
#AA5CF0 #F05CEC #F05CA2
triadic
#F05CEC #ECF05C #5CECF0
tetradic
#F05CEC #F0AA5C #5CF060 #5CA2F0
square
#F05CEC #F0AA5C #5CF060 #5CA2F0
split-complementary
#F05CEC #A2F05C #5CF0AA
monochromatic
#C012BB #EB24E5 #F05CEC #F594F3 #FACCF9

Accessibility & contrast

On white

2.82
#F05CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#F05CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05CEC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05CEC#FFFFFF#000000##000000
##F05CEC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#F86E9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f05cec;
/* rgb */ color: rgb(240, 92, 236);
/* oklch */ color: oklch(71.7% 0.241 328.8);
Tailwind
colors: {
  custom: {
    50: '#f893f2',
    500: '#f05cec',
    950: '#000000',
  },
}
SCSS
$custom: #f05cec;
$custom-light: #f893f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f05cec",
  "rgb": {
    "r": 240,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 301.622,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.71692,
    "c": 0.24132,
    "h": 328.8
  },
  "luminance": 0.32236
}

Semantic roles & 50–950 ramp

primary
#F05CEC
secondary
#BBEDBC
accent
#E00C06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F05CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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