#F07BE7#F07BE7

#F07BE7 is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.2% C 0.192 H 330.2°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#F07BE7
RGBrgb(240, 123, 231)
HSLhsl(305, 80%, 71%)
HSVhsv(305, 49%, 94%)
CMYKcmyk(0%, 48.7%, 3.7%, 5.9%)
CIE-LABlab(68.36, 59.11, -35.01)
CIE-LCHlch(68.36, 68.70, 329.36°)
OKLaboklab(75.16% 0.167 -0.0956)
OKLCHoklch(75.16% 0.192 330.2)
XYZxyz(57.4414, 38.4641, 79.9846)
Luminance0.3846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BE7 #7BF084
analogous
#BE7BF0 #F07BE7 #F07BAC
triadic
#F07BE7 #E7F07B #7BE7F0
tetradic
#F07BE7 #F0BE7B #7BF084 #7BACF0
square
#F07BE7 #F0BE7B #7BF084 #7BACF0
split-complementary
#F07BE7 #ACF07B #7BF0BE
monochromatic
#D819C9 #EA44DD #F07BE7 #F6B2F1 #FCE4FA

Accessibility & contrast

On white

2.42
#F07BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#F07BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BE7
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BE7#FFFFFF#000000##000000
##F07BE71.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#759CEB
Deuteranopia (green-blind)
#97ACE4
Tritanopia (blue-blind)
#F885A7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07be7;
/* rgb */ color: rgb(240, 123, 231);
/* oklch */ color: oklch(75.2% 0.192 330.2);
Tailwind
colors: {
  custom: {
    50: '#f7a5ef',
    500: '#f07be7',
    950: '#000000',
  },
}
SCSS
$custom: #f07be7;
$custom-light: #f7a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f07be7",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 304.615,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75157,
    "c": 0.19243,
    "h": 330.2
  },
  "luminance": 0.38461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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