#F07BE4#F07BE4

#F07BE4 is a light, vivid purple. Relative luminance 0.383; OKLCH L 75.0% C 0.190 H 331.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#F07BE4
RGBrgb(240, 123, 228)
HSLhsl(306, 80%, 71%)
HSVhsv(306, 49%, 94%)
CMYKcmyk(0%, 48.7%, 5%, 5.9%)
CIE-LABlab(68.24, 58.60, -33.54)
CIE-LCHlch(68.24, 67.52, 330.22°)
OKLaboklab(75.03% 0.1665 -0.0914)
OKLCHoklch(75.03% 0.19 331.2)
XYZxyz(57.0213, 38.2961, 77.7722)
Luminance0.3829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BE4 #7BF087
analogous
#C17BF0 #F07BE4 #F07BA9
triadic
#F07BE4 #E4F07B #7BE4F0
tetradic
#F07BE4 #F0C17B #7BF087 #7BA9F0
square
#F07BE4 #F0C17B #7BF087 #7BA9F0
split-complementary
#F07BE4 #A9F07B #7BF0C1
monochromatic
#D819C4 #EA44D9 #F07BE4 #F6B2EF #FCE4F9

Accessibility & contrast

On white

2.43
#F07BE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#F07BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BE4
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BE4#FFFFFF#000000##000000
##F07BE41.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#769CE8
Deuteranopia (green-blind)
#98ACE1
Tritanopia (blue-blind)
#F884A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07be4;
/* rgb */ color: rgb(240, 123, 228);
/* oklch */ color: oklch(75.0% 0.190 331.2);
Tailwind
colors: {
  custom: {
    50: '#f7a5ec',
    500: '#f07be4',
    950: '#000000',
  },
}
SCSS
$custom: #f07be4;
$custom-light: #f7a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f07be4",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 306.154,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75026,
    "c": 0.18992,
    "h": 331.2
  },
  "luminance": 0.38293
}

Semantic roles & 50–950 ramp

primary
#F07BE4
secondary
#D4F3D7
accent
#DC1F0A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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