#F07EFB#F07EFB

#F07EFB is a light, highly saturated purple. Relative luminance 0.404; OKLCH L 76.5% C 0.205 H 324.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#F07EFB
RGBrgb(240, 126, 251)
HSLhsl(295, 94%, 74%)
HSVhsv(295, 50%, 98%)
CMYKcmyk(4.4%, 49.8%, 0%, 1.6%)
CIE-LABlab(69.76, 61.16, -43.81)
CIE-LCHlch(69.76, 75.23, 324.39°)
OKLaboklab(76.48% 0.1661 -0.1208)
OKLCHoklch(76.48% 0.205 324)
XYZxyz(60.8070, 40.4150, 95.8460)
Luminance0.4041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EFB #89FB7E
analogous
#B27EFB #F07EFB #FB7EC8
triadic
#F07EFB #FBF07E #7EFBF0
tetradic
#F07EFB #FBB27E #89FB7E #7EC8FB
square
#F07EFB #FBB27E #89FB7E #7EC8FB
split-complementary
#F07EFB #C8FB7E #7EFBB2
monochromatic
#E208F7 #E943F9 #F07EFB #F7B9FD #FCE1FE

Accessibility & contrast

On white

2.31
#F07EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#F07EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EFB
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EFB#FFFFFF#000000##000000
##F07EFB1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#F48DB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07efb;
/* rgb */ color: rgb(240, 126, 251);
/* oklch */ color: oklch(76.5% 0.205 324.0);
Tailwind
colors: {
  custom: {
    50: '#f7a7fd',
    500: '#f07efb',
    950: '#000000',
  },
}
SCSS
$custom: #f07efb;
$custom-light: #f7a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f07efb",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 294.72,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76476,
    "c": 0.20537,
    "h": 324
  },
  "luminance": 0.40412
}

Semantic roles & 50–950 ramp

primary
#F07EFB
secondary
#D8F6D5
accent
#E60014
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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