#F06BDA#F06BDA

#F06BDA is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.5% C 0.207 H 334.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#F06BDA
RGBrgb(240, 107, 218)
HSLhsl(310, 82%, 68%)
HSVhsv(310, 55%, 94%)
CMYKcmyk(0%, 55.4%, 9.2%, 5.9%)
CIE-LABlab(65.05, 64.39, -32.93)
CIE-LCHlch(65.05, 72.32, 332.91°)
OKLaboklab(72.53% 0.1861 -0.0895)
OKLCHoklch(72.53% 0.207 334.3)
XYZxyz(53.8479, 34.1065, 70.0631)
Luminance0.3410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BDA #6BF081
analogous
#C36BF0 #F06BDA #F06B97
triadic
#F06BDA #DAF06B #6BDAF0
tetradic
#F06BDA #F0C36B #6BF081 #6B97F0
square
#F06BDA #F0C36B #6BF081 #6B97F0
split-complementary
#F06BDA #97F06B #6BF0C3
monochromatic
#CC15AE #EA33CC #F06BDA #F6A3E8 #FBDAF6

Accessibility & contrast

On white

2.69
#F06BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#F06BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BDA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BDA#FFFFFF#000000##000000
##F06BDA1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DE
Deuteranopia (green-blind)
#92A5D6
Tritanopia (blue-blind)
#FA7399
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f06bda;
/* rgb */ color: rgb(240, 107, 218);
/* oklch */ color: oklch(72.5% 0.207 334.3);
Tailwind
colors: {
  custom: {
    50: '#f89be5',
    500: '#f06bda',
    950: '#000000',
  },
}
SCSS
$custom: #f06bda;
$custom-light: #f89be5;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bda",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 309.925,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72532,
    "c": 0.20651,
    "h": 334.3
  },
  "luminance": 0.34103
}

Semantic roles & 50–950 ramp

primary
#F06BDA
secondary
#C7F0CE
accent
#DE2B08
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180F16
muted
#867E84

Preview Lab

Preview with #F06BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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