#F02EFF#F02EFF

#F02EFF is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 69.2% C 0.301 H 324.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#F02EFF
RGBrgb(240, 46, 255)
HSLhsl(296, 100%, 59%)
HSVhsv(296, 82%, 100%)
CMYKcmyk(5.9%, 82%, 0%, 0%)
CIE-LABlab(59.62, 90.61, -62.09)
CIE-LCHlch(59.62, 109.84, 325.58°)
OKLaboklab(69.21% 0.2456 -0.1734)
OKLCHoklch(69.21% 0.301 324.8)
XYZxyz(54.9608, 27.7030, 97.0407)
Luminance0.2770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F02EFF #3DFF2E
analogous
#882EFF #F02EFF #FF2EA6
triadic
#F02EFF #FFF02E #2EFFF0
tetradic
#F02EFF #FF882E #3DFF2E #2EA6FF
square
#F02EFF #FF882E #3DFF2E #2EA6FF
split-complementary
#F02EFF #A6FF2E #2EFF88
monochromatic
#A600B3 #DF00F0 #F02EFF #F46BFF #F9A8FF

Accessibility & contrast

On white

3.21
#F02EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#F02EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F02EFF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F02EFF#FFFFFF#000000##000000
##F02EFF1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#5F97FA
Tritanopia (blue-blind)
#F55B9B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f02eff;
/* rgb */ color: rgb(240, 46, 255);
/* oklch */ color: oklch(69.2% 0.301 324.8);
Tailwind
colors: {
  custom: {
    50: '#fa81ff',
    500: '#f02eff',
    950: '#000000',
  },
}
SCSS
$custom: #f02eff;
$custom-light: #fa81ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f02eff",
  "rgb": {
    "r": 240,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 295.694,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.69211,
    "c": 0.3006,
    "h": 324.8
  },
  "luminance": 0.27699
}

Semantic roles & 50–950 ramp

primary
#F02EFF
secondary
#A1ED9B
accent
#FF2938
background
#FFF8FF
surface
#FFF0FF
border
#D7CBD7
text
#180C18
muted
#867D86

Preview Lab

Preview with #F02EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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