#F07BFA#F07BFA

#F07BFA is a light, highly saturated purple. Relative luminance 0.396; OKLCH L 76.0% C 0.209 H 324.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#F07BFA
RGBrgb(240, 123, 250)
HSLhsl(295, 93%, 73%)
HSVhsv(295, 51%, 98%)
CMYKcmyk(4%, 50.8%, 0%, 2%)
CIE-LABlab(69.18, 62.41, -44.17)
CIE-LCHlch(69.18, 76.46, 324.71°)
OKLaboklab(76.03% 0.1699 -0.1218)
OKLCHoklch(76.03% 0.209 324.4)
XYZxyz(60.2719, 39.5963, 94.8921)
Luminance0.3959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BFA #85FA7B
analogous
#B17BFA #F07BFA #FA7BC4
triadic
#F07BFA #FAF07B #7BFAF0
tetradic
#F07BFA #FAB17B #85FA7B #7BC4FA
square
#F07BFA #FAB17B #85FA7B #7BC4FA
split-complementary
#F07BFA #C4FA7B #7BFAB1
monochromatic
#DF09F1 #E940F8 #F07BFA #F7B6FC #FCE2FE

Accessibility & contrast

On white

2.35
#F07BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#F07BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BFA
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BFA#FFFFFF#000000##000000
##F07BFA1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#8FAEF6
Tritanopia (blue-blind)
#F48BB0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f07bfa;
/* rgb */ color: rgb(240, 123, 250);
/* oklch */ color: oklch(76.0% 0.209 324.4);
Tailwind
colors: {
  custom: {
    50: '#f7a5fc',
    500: '#f07bfa',
    950: '#000000',
  },
}
SCSS
$custom: #f07bfa;
$custom-light: #f7a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bfa",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 295.276,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76031,
    "c": 0.20907,
    "h": 324.4
  },
  "luminance": 0.39593
}

Semantic roles & 50–950 ramp

primary
#F07BFA
secondary
#D8F6D5
accent
#E60012
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F07BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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