#F07BF2#F07BF2

#F07BF2 is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.7% C 0.202 H 326.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#F07BF2
RGBrgb(240, 123, 242)
HSLhsl(299, 82%, 72%)
HSVhsv(299, 49%, 95%)
CMYKcmyk(0.8%, 49.2%, 0%, 5.1%)
CIE-LABlab(68.83, 60.99, -40.34)
CIE-LCHlch(68.83, 73.13, 326.52°)
OKLaboklab(75.66% 0.1688 -0.1108)
OKLCHoklch(75.66% 0.202 326.7)
XYZxyz(59.0440, 39.1052, 88.4252)
Luminance0.3910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BF2 #7DF27B
analogous
#B57BF2 #F07BF2 #F27BB9
triadic
#F07BF2 #F2F07B #7BF2F0
tetradic
#F07BF2 #F2B57B #7DF27B #7BB9F2
square
#F07BF2 #F2B57B #7DF27B #7BB9F2
split-complementary
#F07BF2 #B9F27B #7BF2B5
monochromatic
#DA16DD #EA43ED #F07BF2 #F6B3F7 #FCE3FC

Accessibility & contrast

On white

2.38
#F07BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#F07BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BF2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BF2#FFFFFF#000000##000000
##F07BF21.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#92ADEE
Tritanopia (blue-blind)
#F688AC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f07bf2;
/* rgb */ color: rgb(240, 123, 242);
/* oklch */ color: oklch(75.7% 0.202 326.7);
Tailwind
colors: {
  custom: {
    50: '#f7a5f6',
    500: '#f07bf2',
    950: '#000000',
  },
}
SCSS
$custom: #f07bf2;
$custom-light: #f7a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bf2",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 298.992,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75655,
    "c": 0.20193,
    "h": 326.7
  },
  "luminance": 0.39102
}

Semantic roles & 50–950 ramp

primary
#F07BF2
secondary
#D6F4D5
accent
#DE070B
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #F07BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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