#F06BDF#F06BDF

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

Color values

HEX#F06BDF
RGBrgb(240, 107, 223)
HSLhsl(308, 82%, 68%)
HSVhsv(308, 55%, 94%)
CMYKcmyk(0%, 55.4%, 7.1%, 5.9%)
CIE-LABlab(65.26, 65.18, -35.39)
CIE-LCHlch(65.26, 74.17, 331.50°)
OKLaboklab(72.76% 0.1869 -0.0965)
OKLCHoklch(72.76% 0.21 332.7)
XYZxyz(54.5121, 34.3722, 73.5611)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BDF #6BF07C
analogous
#BE6BF0 #F06BDF #F06B9C
triadic
#F06BDF #DFF06B #6BDFF0
tetradic
#F06BDF #F0BE6B #6BF07C #6B9CF0
square
#F06BDF #F0BE6B #6BF07C #6B9CF0
split-complementary
#F06BDF #9CF06B #6BF0BE
monochromatic
#CC15B5 #EA33D3 #F06BDF #F6A3EB #FBDAF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F06BDF#FFFFFF#000000##000000
##F06BDF1.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)
#6792E3
Deuteranopia (green-blind)
#90A5DB
Tritanopia (blue-blind)
#F9759B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f06bdf;
/* rgb */ color: rgb(240, 107, 223);
/* oklch */ color: oklch(72.8% 0.210 332.7);
Tailwind
colors: {
  custom: {
    50: '#f89be9',
    500: '#f06bdf',
    950: '#000000',
  },
}
SCSS
$custom: #f06bdf;
$custom-light: #f89be9;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bdf",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 223
  },
  "hsl": {
    "h": 307.669,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72755,
    "c": 0.21036,
    "h": 332.7
  },
  "luminance": 0.34368
}

Semantic roles & 50–950 ramp

primary
#F06BDF
secondary
#C7F0CC
accent
#DE2308
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180F16
muted
#867E84

Preview Lab

Preview with #F06BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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