#F07BDD#F07BDD

#F07BDD is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.7% C 0.184 H 333.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#F07BDD
RGBrgb(240, 123, 221)
HSLhsl(310, 80%, 71%)
HSVhsv(310, 49%, 94%)
CMYKcmyk(0%, 48.7%, 7.9%, 5.9%)
CIE-LABlab(67.96, 57.45, -30.10)
CIE-LCHlch(67.96, 64.86, 332.35°)
OKLaboklab(74.73% 0.1651 -0.0816)
OKLCHoklch(74.73% 0.184 333.7)
XYZxyz(56.0692, 37.9152, 72.7577)
Luminance0.3791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BDD #7BF08E
analogous
#C87BF0 #F07BDD #F07BA2
triadic
#F07BDD #DDF07B #7BDDF0
tetradic
#F07BDD #F0C87B #7BF08E #7BA2F0
square
#F07BDD #F0C87B #7BF08E #7BA2F0
split-complementary
#F07BDD #A2F07B #7BF0C8
monochromatic
#D819B9 #EA44CF #F07BDD #F6B2EB #FCE4F8

Accessibility & contrast

On white

2.45
#F07BDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#F07BDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BDD
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BDD#FFFFFF#000000##000000
##F07BDD1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BE0
Deuteranopia (green-blind)
#9BACDA
Tritanopia (blue-blind)
#F982A2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07bdd;
/* rgb */ color: rgb(240, 123, 221);
/* oklch */ color: oklch(74.7% 0.184 333.7);
Tailwind
colors: {
  custom: {
    50: '#f7a5e7',
    500: '#f07bdd',
    950: '#000000',
  },
}
SCSS
$custom: #f07bdd;
$custom-light: #f7a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bdd",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 309.744,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74726,
    "c": 0.1842,
    "h": 333.7
  },
  "luminance": 0.37912
}

Semantic roles & 50–950 ramp

primary
#F07BDD
secondary
#D4F3D9
accent
#DC2C0A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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