#F07DFA#F07DFA

#F07DFA is a light, highly saturated purple. Relative luminance 0.401; OKLCH L 76.3% C 0.206 H 324.3°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#F07DFA
RGBrgb(240, 125, 250)
HSLhsl(295, 93%, 74%)
HSVhsv(295, 50%, 98%)
CMYKcmyk(4%, 50%, 0%, 2%)
CIE-LABlab(69.54, 61.46, -43.61)
CIE-LCHlch(69.54, 75.36, 324.64°)
OKLaboklab(76.3% 0.1673 -0.1202)
OKLCHoklch(76.3% 0.206 324.3)
XYZxyz(60.5226, 40.0976, 94.9756)
Luminance0.4009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07DFA #87FA7D
analogous
#B17DFA #F07DFA #FA7DC5
triadic
#F07DFA #FAF07D #7DFAF0
tetradic
#F07DFA #FAB17D #87FA7D #7DC5FA
square
#F07DFA #FAB17D #87FA7D #7DC5FA
split-complementary
#F07DFA #C5FA7D #7DFAB1
monochromatic
#E109F3 #E942F8 #F07DFA #F7B8FC #FCE2FE

Accessibility & contrast

On white

2.33
#F07DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#F07DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07DFA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07DFA#FFFFFF#000000##000000
##F07DFA1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#90AFF6
Tritanopia (blue-blind)
#F48CB0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f07dfa;
/* rgb */ color: rgb(240, 125, 250);
/* oklch */ color: oklch(76.3% 0.206 324.3);
Tailwind
colors: {
  custom: {
    50: '#f7a7fc',
    500: '#f07dfa',
    950: '#000000',
  },
}
SCSS
$custom: #f07dfa;
$custom-light: #f7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f07dfa",
  "rgb": {
    "r": 240,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 295.2,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76295,
    "c": 0.206,
    "h": 324.3
  },
  "luminance": 0.40095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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