#F07BEA#F07BEA

#F07BEA is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.3% C 0.195 H 329.2°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#F07BEA
RGBrgb(240, 123, 234)
HSLhsl(303, 80%, 71%)
HSVhsv(303, 49%, 94%)
CMYKcmyk(0%, 48.7%, 2.5%, 5.9%)
CIE-LABlab(68.49, 59.61, -36.47)
CIE-LCHlch(68.49, 69.89, 328.54°)
OKLaboklab(75.29% 0.1675 -0.0997)
OKLCHoklch(75.29% 0.195 329.2)
XYZxyz(57.8687, 38.6350, 82.2352)
Luminance0.3863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BEA #7BF081
analogous
#BB7BF0 #F07BEA #F07BAF
triadic
#F07BEA #EAF07B #7BEAF0
tetradic
#F07BEA #F0BB7B #7BF081 #7BAFF0
square
#F07BEA #F0BB7B #7BF081 #7BAFF0
split-complementary
#F07BEA #AFF07B #7BF0BB
monochromatic
#D819CE #EA44E1 #F07BEA #F6B2F3 #FCE4FB

Accessibility & contrast

On white

2.41
#F07BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#F07BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BEA
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BEA#FFFFFF#000000##000000
##F07BEA1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#96ADE7
Tritanopia (blue-blind)
#F786A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07bea;
/* rgb */ color: rgb(240, 123, 234);
/* oklch */ color: oklch(75.3% 0.195 329.2);
Tailwind
colors: {
  custom: {
    50: '#f7a5f1',
    500: '#f07bea',
    950: '#000000',
  },
}
SCSS
$custom: #f07bea;
$custom-light: #f7a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bea",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 303.077,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7529,
    "c": 0.19498,
    "h": 329.2
  },
  "luminance": 0.38632
}

Semantic roles & 50–950 ramp

primary
#F07BEA
secondary
#D4F3D6
accent
#DC140A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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