#F07CDE#F07CDE

#F07CDE is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.9% C 0.183 H 333.4°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#F07CDE
RGBrgb(240, 124, 222)
HSLhsl(309, 79%, 71%)
HSVhsv(309, 48%, 94%)
CMYKcmyk(0%, 48.3%, 7.5%, 5.9%)
CIE-LABlab(68.18, 57.13, -30.31)
CIE-LCHlch(68.18, 64.67, 332.06°)
OKLaboklab(74.9% 0.1639 -0.0822)
OKLCHoklch(74.9% 0.183 333.4)
XYZxyz(56.3275, 38.2181, 73.5031)
Luminance0.3821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CDE #7CF08E
analogous
#C87CF0 #F07CDE #F07CA4
triadic
#F07CDE #DEF07C #7CDEF0
tetradic
#F07CDE #F0C87C #7CF08E #7CA4F0
square
#F07CDE #F0C87C #7CF08E #7CA4F0
split-complementary
#F07CDE #A4F07C #7CF0C8
monochromatic
#D919BB #EA45D0 #F07CDE #F6B3EC #FCE4F8

Accessibility & contrast

On white

2.43
#F07CDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#F07CDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CDE
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CDE#FFFFFF#000000##000000
##F07CDE1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9CE1
Deuteranopia (green-blind)
#9BACDB
Tritanopia (blue-blind)
#F983A3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07cde;
/* rgb */ color: rgb(240, 124, 222);
/* oklch */ color: oklch(74.9% 0.183 333.4);
Tailwind
colors: {
  custom: {
    50: '#f7a6e8',
    500: '#f07cde',
    950: '#000000',
  },
}
SCSS
$custom: #f07cde;
$custom-light: #f7a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cde",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 222
  },
  "hsl": {
    "h": 309.31,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74904,
    "c": 0.18341,
    "h": 333.4
  },
  "luminance": 0.38214
}

Semantic roles & 50–950 ramp

primary
#F07CDE
secondary
#D5F3DA
accent
#DC2A0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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