#F05FF5#F05FF5

#F05FF5 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 72.5% C 0.245 H 326.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#F05FF5
RGBrgb(240, 95, 245)
HSLhsl(298, 88%, 67%)
HSVhsv(298, 61%, 96%)
CMYKcmyk(2%, 61.2%, 0%, 3.9%)
CIE-LABlab(64.41, 73.84, -48.94)
CIE-LCHlch(64.41, 88.59, 326.47°)
OKLaboklab(72.46% 0.2037 -0.1354)
OKLCHoklch(72.46% 0.245 326.4)
XYZxyz(56.5078, 33.3058, 89.8208)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05FF5 #64F55F
analogous
#A55FF5 #F05FF5 #F55FAF
triadic
#F05FF5 #F5F05F #5FF5F0
tetradic
#F05FF5 #F5A55F #64F55F #5FAFF5
square
#F05FF5 #F5A55F #64F55F #5FAFF5
split-complementary
#F05FF5 #AFF55F #5FF5A5
monochromatic
#C60DCD #EB25F1 #F05FF5 #F599F9 #FBD2FC

Accessibility & contrast

On white

2.74
#F05FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#F05FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05FF5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05FF5#FFFFFF#000000##000000
##F05FF51.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990FA
Deuteranopia (green-blind)
#7EA3F1
Tritanopia (blue-blind)
#F673A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f05ff5;
/* rgb */ color: rgb(240, 95, 245);
/* oklch */ color: oklch(72.5% 0.245 326.4);
Tailwind
colors: {
  custom: {
    50: '#f895f9',
    500: '#f05ff5',
    950: '#000000',
  },
}
SCSS
$custom: #f05ff5;
$custom-light: #f895f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f05ff5",
  "rgb": {
    "r": 240,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 298,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72463,
    "c": 0.24457,
    "h": 326.4
  },
  "luminance": 0.33302
}

Semantic roles & 50–950 ramp

primary
#F05FF5
secondary
#C1F0C0
accent
#E50108
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F05FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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