#F07BEB#F07BEB

#F07BEB is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.3% C 0.196 H 328.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#F07BEB
RGBrgb(240, 123, 235)
HSLhsl(303, 80%, 71%)
HSVhsv(303, 49%, 94%)
CMYKcmyk(0%, 48.7%, 2.1%, 5.9%)
CIE-LABlab(68.53, 59.78, -36.96)
CIE-LCHlch(68.53, 70.28, 328.28°)
OKLaboklab(75.33% 0.1677 -0.1011)
OKLCHoklch(75.33% 0.196 328.9)
XYZxyz(58.0128, 38.6927, 82.9939)
Luminance0.3869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BEB #7BF080
analogous
#BA7BF0 #F07BEB #F07BB0
triadic
#F07BEB #EBF07B #7BEBF0
tetradic
#F07BEB #F0BA7B #7BF080 #7BB0F0
square
#F07BEB #F0BA7B #7BF080 #7BB0F0
split-complementary
#F07BEB #B0F07B #7BF0BA
monochromatic
#D819D0 #EA44E3 #F07BEB #F6B2F3 #FCE4FB

Accessibility & contrast

On white

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

On black

8.74
#F07BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BEB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BEB#FFFFFF#000000##000000
##F07BEB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#F786A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f07beb;
/* rgb */ color: rgb(240, 123, 235);
/* oklch */ color: oklch(75.3% 0.196 328.9);
Tailwind
colors: {
  custom: {
    50: '#f7a5f1',
    500: '#f07beb',
    950: '#000000',
  },
}
SCSS
$custom: #f07beb;
$custom-light: #f7a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07beb",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 302.564,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75335,
    "c": 0.19584,
    "h": 328.9
  },
  "luminance": 0.38689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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