#F07BEF#F07BEF

#F07BEF is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.5% C 0.199 H 327.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#F07BEF
RGBrgb(240, 123, 239)
HSLhsl(301, 80%, 71%)
HSVhsv(301, 49%, 94%)
CMYKcmyk(0%, 48.7%, 0.4%, 5.9%)
CIE-LABlab(68.70, 60.47, -38.89)
CIE-LCHlch(68.70, 71.90, 327.25°)
OKLaboklab(75.52% 0.1684 -0.1067)
OKLCHoklch(75.52% 0.199 327.6)
XYZxyz(58.5972, 38.9264, 86.0717)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BEF #7BF07C
analogous
#B67BF0 #F07BEF #F07BB4
triadic
#F07BEF #EFF07B #7BEFF0
tetradic
#F07BEF #F0B67B #7BF07C #7BB4F0
square
#F07BEF #F0B67B #7BF07C #7BB4F0
split-complementary
#F07BEF #B4F07B #7BF0B6
monochromatic
#D819D6 #EA44E8 #F07BEF #F6B2F6 #FCE4FC

Accessibility & contrast

On white

2.39
#F07BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#F07BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BEF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BEF#FFFFFF#000000##000000
##F07BEF1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#93ADEB
Tritanopia (blue-blind)
#F687AA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07bef;
/* rgb */ color: rgb(240, 123, 239);
/* oklch */ color: oklch(75.5% 0.199 327.6);
Tailwind
colors: {
  custom: {
    50: '#f7a5f4',
    500: '#f07bef',
    950: '#000000',
  },
}
SCSS
$custom: #f07bef;
$custom-light: #f7a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bef",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 300.513,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75517,
    "c": 0.1993,
    "h": 327.6
  },
  "luminance": 0.38923
}

Semantic roles & 50–950 ramp

primary
#F07BEF
secondary
#D4F3D4
accent
#DC0B0A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #F07BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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