#F06CFA#F06CFA

#F06CFA is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.2% C 0.231 H 324.8°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F06CFA
RGBrgb(240, 108, 250)
HSLhsl(296, 93%, 70%)
HSVhsv(296, 57%, 98%)
CMYKcmyk(4%, 56.8%, 0%, 2%)
CIE-LABlab(66.64, 69.24, -48.17)
CIE-LCHlch(66.64, 84.35, 325.17°)
OKLaboklab(74.17% 0.1888 -0.1333)
OKLCHoklch(74.17% 0.231 324.8)
XYZxyz(58.5516, 36.1558, 94.3186)
Luminance0.3615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CFA #76FA6C
analogous
#A96CFA #F06CFA #FA6CBD
triadic
#F06CFA #FAF06C #6CFAF0
tetradic
#F06CFA #FAA96C #76FA6C #6CBDFA
square
#F06CFA #FAA96C #76FA6C #6CBDFA
split-complementary
#F06CFA #BDFA6C #6CFAA9
monochromatic
#D408E4 #EA31F8 #F06CFA #F6A7FC #FCE1FE

Accessibility & contrast

On white

2.55
#F06CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F06CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CFA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CFA#FFFFFF#000000##000000
##F06CFA1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#F57FA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f06cfa;
/* rgb */ color: rgb(240, 108, 250);
/* oklch */ color: oklch(74.2% 0.231 324.8);
Tailwind
colors: {
  custom: {
    50: '#f89dfc',
    500: '#f06cfa',
    950: '#000000',
  },
}
SCSS
$custom: #f06cfa;
$custom-light: #f89dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cfa",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 295.775,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.23111,
    "h": 324.8
  },
  "luminance": 0.36153
}

Semantic roles & 50–950 ramp

primary
#F06CFA
secondary
#D0F5CD
accent
#E60010
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F06CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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