#F07CEB#F07CEB

#F07CEB is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.5% C 0.194 H 328.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#F07CEB
RGBrgb(240, 124, 235)
HSLhsl(303, 79%, 71%)
HSVhsv(303, 48%, 94%)
CMYKcmyk(0%, 48.3%, 2.1%, 5.9%)
CIE-LABlab(68.71, 59.31, -36.67)
CIE-LCHlch(68.71, 69.73, 328.27°)
OKLaboklab(75.47% 0.1664 -0.1003)
OKLCHoklch(75.47% 0.194 328.9)
XYZxyz(58.1375, 38.9420, 83.0355)
Luminance0.3894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CEB #7CF081
analogous
#BB7CF0 #F07CEB #F07CB1
triadic
#F07CEB #EBF07C #7CEBF0
tetradic
#F07CEB #F0BB7C #7CF081 #7CB1F0
square
#F07CEB #F0BB7C #7CF081 #7CB1F0
split-complementary
#F07CEB #B1F07C #7CF0BB
monochromatic
#D919D1 #EA45E3 #F07CEB #F6B3F3 #FCE4FB

Accessibility & contrast

On white

2.39
#F07CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#F07CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CEB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CEB#FFFFFF#000000##000000
##F07CEB1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#96ADE8
Tritanopia (blue-blind)
#F787A9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07ceb;
/* rgb */ color: rgb(240, 124, 235);
/* oklch */ color: oklch(75.5% 0.194 328.9);
Tailwind
colors: {
  custom: {
    50: '#f7a6f1',
    500: '#f07ceb',
    950: '#000000',
  },
}
SCSS
$custom: #f07ceb;
$custom-light: #f7a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ceb",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 302.586,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75469,
    "c": 0.19427,
    "h": 328.9
  },
  "luminance": 0.38939
}

Semantic roles & 50–950 ramp

primary
#F07CEB
secondary
#D5F3D6
accent
#DC130A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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