#F07BED#F07BED

#F07BED is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.4% C 0.198 H 328.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#F07BED
RGBrgb(240, 123, 237)
HSLhsl(302, 80%, 71%)
HSVhsv(302, 49%, 94%)
CMYKcmyk(0%, 48.7%, 1.2%, 5.9%)
CIE-LABlab(68.61, 60.13, -37.93)
CIE-LCHlch(68.61, 71.09, 327.76°)
OKLaboklab(75.43% 0.168 -0.1039)
OKLCHoklch(75.43% 0.198 328.3)
XYZxyz(58.3033, 38.8089, 84.5242)
Luminance0.3881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BED #7BF07E
analogous
#B87BF0 #F07BED #F07BB2
triadic
#F07BED #EDF07B #7BEDF0
tetradic
#F07BED #F0B87B #7BF07E #7BB2F0
square
#F07BED #F0B87B #7BF07E #7BB2F0
split-complementary
#F07BED #B2F07B #7BF0B8
monochromatic
#D819D3 #EA44E6 #F07BED #F6B2F4 #FCE4FB

Accessibility & contrast

On white

2.40
#F07BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#F07BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BED
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BED#FFFFFF#000000##000000
##F07BED1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF1
Deuteranopia (green-blind)
#94ADE9
Tritanopia (blue-blind)
#F787A9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07bed;
/* rgb */ color: rgb(240, 123, 237);
/* oklch */ color: oklch(75.4% 0.198 328.3);
Tailwind
colors: {
  custom: {
    50: '#f7a5f3',
    500: '#f07bed',
    950: '#000000',
  },
}
SCSS
$custom: #f07bed;
$custom-light: #f7a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bed",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 301.538,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75425,
    "c": 0.19756,
    "h": 328.3
  },
  "luminance": 0.38806
}

Semantic roles & 50–950 ramp

primary
#F07BED
secondary
#D4F3D5
accent
#DC0F0A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07BED

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

Preview Lab → · Contrast checker → · Palette generator →

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