#F06BF5#F06BF5

#F06BF5 is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.8% C 0.228 H 326.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F06BF5
RGBrgb(240, 107, 245)
HSLhsl(298, 87%, 69%)
HSVhsv(298, 56%, 96%)
CMYKcmyk(2%, 56.3%, 0%, 3.9%)
CIE-LABlab(66.24, 68.81, -46.05)
CIE-LCHlch(66.24, 82.80, 326.21°)
OKLaboklab(73.8% 0.1896 -0.1271)
OKLCHoklch(73.8% 0.228 326.2)
XYZxyz(57.6732, 35.6366, 90.2093)
Luminance0.3563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BF5 #70F56B
analogous
#AB6BF5 #F06BF5 #F56BB5
triadic
#F06BF5 #F5F06B #6BF5F0
tetradic
#F06BF5 #F5AB6B #70F56B #6BB5F5
square
#F06BF5 #F5AB6B #70F56B #6BB5F5
split-complementary
#F06BF5 #B5F56B #6BF5AB
monochromatic
#D00FD7 #EA32F1 #F06BF5 #F6A4F9 #FCDEFD

Accessibility & contrast

On white

2.58
#F06BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#F06BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BF5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BF5#FFFFFF#000000##000000
##F06BF51.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F9
Deuteranopia (green-blind)
#86A7F1
Tritanopia (blue-blind)
#F67CA6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f06bf5;
/* rgb */ color: rgb(240, 107, 245);
/* oklch */ color: oklch(73.8% 0.228 326.2);
Tailwind
colors: {
  custom: {
    50: '#f89cf9',
    500: '#f06bf5',
    950: '#000000',
  },
}
SCSS
$custom: #f06bf5;
$custom-light: #f89cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#f06bf5",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 297.826,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73798,
    "c": 0.22827,
    "h": 326.2
  },
  "luminance": 0.35633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F06BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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