#F06CDB#F06CDB

#F06CDB is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.7% C 0.206 H 334.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#F06CDB
RGBrgb(240, 108, 219)
HSLhsl(310, 81%, 68%)
HSVhsv(310, 55%, 94%)
CMYKcmyk(0%, 55%, 8.8%, 5.9%)
CIE-LABlab(65.25, 64.10, -33.17)
CIE-LCHlch(65.25, 72.17, 332.64°)
OKLaboklab(72.7% 0.185 -0.0902)
OKLCHoklch(72.7% 0.206 334)
XYZxyz(54.0841, 34.3687, 70.7893)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06CDB #6CF081
analogous
#C36CF0 #F06CDB #F06C99
triadic
#F06CDB #DBF06C #6CDBF0
tetradic
#F06CDB #F0C36C #6CF081 #6C99F0
square
#F06CDB #F0C36C #6CF081 #6C99F0
split-complementary
#F06CDB #99F06C #6CF0C3
monochromatic
#CD15AF #EA34CD #F06CDB #F6A4E9 #FBDBF6

Accessibility & contrast

On white

2.67
#F06CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#F06CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06CDB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06CDB#FFFFFF#000000##000000
##F06CDB1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#92A5D7
Tritanopia (blue-blind)
#FA749A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f06cdb;
/* rgb */ color: rgb(240, 108, 219);
/* oklch */ color: oklch(72.7% 0.206 334.0);
Tailwind
colors: {
  custom: {
    50: '#f89ce6',
    500: '#f06cdb',
    950: '#000000',
  },
}
SCSS
$custom: #f06cdb;
$custom-light: #f89ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#f06cdb",
  "rgb": {
    "r": 240,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 309.545,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72698,
    "c": 0.20579,
    "h": 334
  },
  "luminance": 0.34365
}

Semantic roles & 50–950 ramp

primary
#F06CDB
secondary
#C8F0CE
accent
#DE2A08
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180F16
muted
#867E84

Preview Lab

Preview with #F06CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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