#F07CE8#F07CE8

#F07CE8 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.3% C 0.192 H 329.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#F07CE8
RGBrgb(240, 124, 232)
HSLhsl(304, 79%, 71%)
HSVhsv(304, 48%, 94%)
CMYKcmyk(0%, 48.3%, 3.3%, 5.9%)
CIE-LABlab(68.58, 58.80, -35.21)
CIE-LCHlch(68.58, 68.54, 329.08°)
OKLaboklab(75.34% 0.1658 -0.0962)
OKLCHoklch(75.34% 0.192 329.9)
XYZxyz(57.7077, 38.7701, 80.7721)
Luminance0.3877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CE8 #7CF084
analogous
#BE7CF0 #F07CE8 #F07CAE
triadic
#F07CE8 #E8F07C #7CE8F0
tetradic
#F07CE8 #F0BE7C #7CF084 #7CAEF0
square
#F07CE8 #F0BE7C #7CF084 #7CAEF0
split-complementary
#F07CE8 #AEF07C #7CF0BE
monochromatic
#D919CC #EA45DE #F07CE8 #F6B3F2 #FCE4FA

Accessibility & contrast

On white

2.40
#F07CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#F07CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CE8
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CE8#FFFFFF#000000##000000
##F07CE81.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEC
Deuteranopia (green-blind)
#97ADE5
Tritanopia (blue-blind)
#F786A7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07ce8;
/* rgb */ color: rgb(240, 124, 232);
/* oklch */ color: oklch(75.3% 0.192 329.9);
Tailwind
colors: {
  custom: {
    50: '#f7a6ef',
    500: '#f07ce8',
    950: '#000000',
  },
}
SCSS
$custom: #f07ce8;
$custom-light: #f7a6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ce8",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 304.138,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75336,
    "c": 0.1917,
    "h": 329.9
  },
  "luminance": 0.38767
}

Semantic roles & 50–950 ramp

primary
#F07CE8
secondary
#D5F3D7
accent
#DC180A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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