#F06CF5#F06CF5

#F06CF5 is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.9% C 0.227 H 326.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#F06CF5
RGBrgb(240, 108, 245)
HSLhsl(298, 87%, 69%)
HSVhsv(298, 56%, 96%)
CMYKcmyk(2%, 55.9%, 0%, 3.9%)
CIE-LABlab(66.40, 68.37, -45.79)
CIE-LCHlch(66.40, 82.29, 326.19°)
OKLaboklab(73.92% 0.1884 -0.1264)
OKLCHoklch(73.92% 0.227 326.1)
XYZxyz(57.7780, 35.8463, 90.2442)
Luminance0.3584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CF5 #71F56C
analogous
#AC6CF5 #F06CF5 #F56CB6
triadic
#F06CF5 #F5F06C #6CF5F0
tetradic
#F06CF5 #F5AC6C #71F56C #6CB6F5
square
#F06CF5 #F5AC6C #71F56C #6CB6F5
split-complementary
#F06CF5 #B6F56C #6CF5AC
monochromatic
#D10FD8 #EA33F1 #F06CF5 #F6A5F9 #FCDFFD

Accessibility & contrast

On white

2.57
#F06CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#F06CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CF5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CF5#FFFFFF#000000##000000
##F06CF51.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97F9
Deuteranopia (green-blind)
#87A7F1
Tritanopia (blue-blind)
#F67DA7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06cf5;
/* rgb */ color: rgb(240, 108, 245);
/* oklch */ color: oklch(73.9% 0.227 326.1);
Tailwind
colors: {
  custom: {
    50: '#f89cf9',
    500: '#f06cf5',
    950: '#000000',
  },
}
SCSS
$custom: #f06cf5;
$custom-light: #f89cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cf5",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 297.81,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73916,
    "c": 0.22685,
    "h": 326.1
  },
  "luminance": 0.35843
}

Semantic roles & 50–950 ramp

primary
#F06CF5
secondary
#CCF2CA
accent
#E4020A
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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