#F07DEB#F07DEB

#F07DEB is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.6% C 0.193 H 328.9°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#F07DEB
RGBrgb(240, 125, 235)
HSLhsl(303, 79%, 72%)
HSVhsv(303, 48%, 94%)
CMYKcmyk(0%, 47.9%, 2.1%, 5.9%)
CIE-LABlab(68.89, 58.83, -36.39)
CIE-LCHlch(68.89, 69.17, 328.26°)
OKLaboklab(75.6% 0.165 -0.0995)
OKLCHoklch(75.6% 0.193 328.9)
XYZxyz(58.2634, 39.1939, 83.0775)
Luminance0.3919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DEB #7DF082
analogous
#BC7DF0 #F07DEB #F07DB2
triadic
#F07DEB #EBF07D #7DEBF0
tetradic
#F07DEB #F0BC7D #7DF082 #7DB2F0
square
#F07DEB #F0BC7D #7DF082 #7DB2F0
split-complementary
#F07DEB #B2F07D #7DF0BC
monochromatic
#DA19D1 #EA46E3 #F07DEB #F6B4F3 #FCE4FB

Accessibility & contrast

On white

2.38
#F07DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#F07DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DEB
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DEB#FFFFFF#000000##000000
##F07DEB1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEF
Deuteranopia (green-blind)
#96AEE8
Tritanopia (blue-blind)
#F788A9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07deb;
/* rgb */ color: rgb(240, 125, 235);
/* oklch */ color: oklch(75.6% 0.193 328.9);
Tailwind
colors: {
  custom: {
    50: '#f7a6f1',
    500: '#f07deb',
    950: '#000000',
  },
}
SCSS
$custom: #f07deb;
$custom-light: #f7a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07deb",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 302.609,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75604,
    "c": 0.19269,
    "h": 328.9
  },
  "luminance": 0.39191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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