#F07BF5#F07BF5

#F07BF5 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.8% C 0.205 H 325.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#F07BF5
RGBrgb(240, 123, 245)
HSLhsl(298, 86%, 72%)
HSVhsv(298, 50%, 96%)
CMYKcmyk(2%, 49.8%, 0%, 3.9%)
CIE-LABlab(68.96, 61.52, -41.78)
CIE-LCHlch(68.96, 74.37, 325.82°)
OKLaboklab(75.79% 0.1692 -0.115)
OKLCHoklch(75.79% 0.205 325.8)
XYZxyz(59.4983, 39.2869, 90.8177)
Luminance0.3928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BF5 #80F57B
analogous
#B37BF5 #F07BF5 #F57BBD
triadic
#F07BF5 #F5F07B #7BF5F0
tetradic
#F07BF5 #F5B37B #80F57B #7BBDF5
square
#F07BF5 #F5B37B #80F57B #7BBDF5
split-complementary
#F07BF5 #BDF57B #7BF5B3
monochromatic
#DC11E4 #EA42F1 #F07BF5 #F6B4F9 #FCE3FD

Accessibility & contrast

On white

2.37
#F07BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#F07BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BF5
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BF5#FFFFFF#000000##000000
##F07BF51.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FF9
Deuteranopia (green-blind)
#91ADF1
Tritanopia (blue-blind)
#F589AD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07bf5;
/* rgb */ color: rgb(240, 123, 245);
/* oklch */ color: oklch(75.8% 0.205 325.8);
Tailwind
colors: {
  custom: {
    50: '#f7a5f9',
    500: '#f07bf5',
    950: '#000000',
  },
}
SCSS
$custom: #f07bf5;
$custom-light: #f7a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bf5",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 297.541,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75794,
    "c": 0.20458,
    "h": 325.8
  },
  "luminance": 0.39284
}

Semantic roles & 50–950 ramp

primary
#F07BF5
secondary
#D7F5D6
accent
#E2030C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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