#FF8CF7#FF8CF7

#FF8CF7 is a light, vivid purple. Relative luminance 0.467; OKLCH L 80.0% C 0.189 H 329.8°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#FF8CF7
RGBrgb(255, 140, 247)
HSLhsl(304, 100%, 77%)
HSVhsv(304, 45%, 100%)
CMYKcmyk(0%, 45.1%, 3.1%, 0%)
CIE-LABlab(74.02, 57.87, -34.86)
CIE-LCHlch(74.02, 67.55, 328.94°)
OKLaboklab(79.97% 0.163 -0.095)
OKLCHoklch(79.97% 0.189 329.8)
XYZxyz(67.4058, 46.7353, 93.4480)
Luminance0.4673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8CF7 #8CFF94
analogous
#CE8CFF #FF8CF7 #FF8CBD
triadic
#FF8CF7 #F7FF8C #8CF7FF
tetradic
#FF8CF7 #FFCE8C #8CFF94 #8CBDFF
square
#FF8CF7 #FFCE8C #8CFF94 #8CBDFF
split-complementary
#FF8CF7 #BDFF8C #8CFFCE
monochromatic
#FF12EE #FF4FF3 #FF8CF7 #FFC9FB #FFE0FD

Accessibility & contrast

On white

2.03
#FF8CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#FF8CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8CF7
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8CF7#FFFFFF#000000##000000
##FF8CF71.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFB
Deuteranopia (green-blind)
#A6BCF4
Tritanopia (blue-blind)
#FF96B6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ff8cf7;
/* rgb */ color: rgb(255, 140, 247);
/* oklch */ color: oklch(80.0% 0.189 329.8);
Tailwind
colors: {
  custom: {
    50: '#ffb1fa',
    500: '#ff8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ff8cf7;
$custom-light: #ffb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8cf7",
  "rgb": {
    "r": 255,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 304.174,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79968,
    "c": 0.18867,
    "h": 329.8
  },
  "luminance": 0.46732
}

Semantic roles & 50–950 ramp

primary
#FF8CF7
secondary
#D4F7D6
accent
#E61000
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FF8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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