#F07EFA#F07EFA

#F07EFA is a light, highly saturated purple. Relative luminance 0.403; OKLCH L 76.4% C 0.204 H 324.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#F07EFA
RGBrgb(240, 126, 250)
HSLhsl(295, 93%, 74%)
HSVhsv(295, 50%, 98%)
CMYKcmyk(4%, 49.6%, 0%, 2%)
CIE-LABlab(69.72, 60.98, -43.33)
CIE-LCHlch(69.72, 74.81, 324.60°)
OKLaboklab(76.43% 0.1659 -0.1194)
OKLCHoklch(76.43% 0.204 324.3)
XYZxyz(60.6498, 40.3521, 95.0180)
Luminance0.4035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07EFA #88FA7E
analogous
#B27EFA #F07EFA #FA7EC6
triadic
#F07EFA #FAF07E #7EFAF0
tetradic
#F07EFA #FAB27E #88FA7E #7EC6FA
square
#F07EFA #FAB27E #88FA7E #7EC6FA
split-complementary
#F07EFA #C6FA7E #7EFAB2
monochromatic
#E109F4 #E943F8 #F07EFA #F7B9FC #FCE2FE

Accessibility & contrast

On white

2.32
#F07EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#F07EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07EFA
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07EFA#FFFFFF#000000##000000
##F07EFA1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#91AFF6
Tritanopia (blue-blind)
#F48DB1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07efa;
/* rgb */ color: rgb(240, 126, 250);
/* oklch */ color: oklch(76.4% 0.204 324.3);
Tailwind
colors: {
  custom: {
    50: '#f7a7fc',
    500: '#f07efa',
    950: '#000000',
  },
}
SCSS
$custom: #f07efa;
$custom-light: #f7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f07efa",
  "rgb": {
    "r": 240,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 295.161,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76429,
    "c": 0.20446,
    "h": 324.3
  },
  "luminance": 0.40349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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