#F06BEB#F06BEB

#F06BEB is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 73.3% C 0.220 H 329.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#F06BEB
RGBrgb(240, 107, 235)
HSLhsl(302, 82%, 68%)
HSVhsv(302, 55%, 94%)
CMYKcmyk(0%, 55.4%, 2.1%, 5.9%)
CIE-LABlab(65.78, 67.13, -41.24)
CIE-LCHlch(65.78, 78.79, 328.43°)
OKLaboklab(73.31% 0.1886 -0.1133)
OKLCHoklch(73.31% 0.22 329)
XYZxyz(56.1876, 35.0424, 82.3855)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F06BEB #6BF070
analogous
#B36BF0 #F06BEB #F06BA8
triadic
#F06BEB #EBF06B #6BEBF0
tetradic
#F06BEB #F0B36B #6BF070 #6BA8F0
square
#F06BEB #F0B36B #6BF070 #6BA8F0
split-complementary
#F06BEB #A8F06B #6BF0B3
monochromatic
#CC15C5 #EA33E3 #F06BEB #F6A3F3 #FBDAFA

Accessibility & contrast

On white

2.62
#F06BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#F06BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F06BEB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F06BEB#FFFFFF#000000##000000
##F06BEB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#F779A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f06beb;
/* rgb */ color: rgb(240, 107, 235);
/* oklch */ color: oklch(73.3% 0.220 329.0);
Tailwind
colors: {
  custom: {
    50: '#f89cf2',
    500: '#f06beb',
    950: '#000000',
  },
}
SCSS
$custom: #f06beb;
$custom-light: #f89cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f06beb",
  "rgb": {
    "r": 240,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 302.256,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.73312,
    "c": 0.21996,
    "h": 329
  },
  "luminance": 0.35039
}

Semantic roles & 50–950 ramp

primary
#F06BEB
secondary
#C7F0C9
accent
#DE1008
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180F17
muted
#867E85

Preview Lab

Preview with #F06BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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