#FF8CFB#FF8CFB

#FF8CFB is a light, vivid purple. Relative luminance 0.470; OKLCH L 80.1% C 0.192 H 328.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#FF8CFB
RGBrgb(255, 140, 251)
HSLhsl(302, 100%, 77%)
HSVhsv(302, 45%, 100%)
CMYKcmyk(0%, 45.1%, 1.6%, 0%)
CIE-LABlab(74.18, 58.55, -36.78)
CIE-LCHlch(74.18, 69.15, 327.86°)
OKLaboklab(80.14% 0.1638 -0.1005)
OKLCHoklch(80.14% 0.192 328.5)
XYZxyz(68.0297, 46.9848, 96.7337)
Luminance0.4698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8CFB #8CFF90
analogous
#CA8CFF #FF8CFB #FF8CC1
triadic
#FF8CFB #FBFF8C #8CFBFF
tetradic
#FF8CFB #FFCA8C #8CFF90 #8CC1FF
square
#FF8CFB #FFCA8C #8CFF90 #8CC1FF
split-complementary
#FF8CFB #C1FF8C #8CFFCA
monochromatic
#FF12F7 #FF4FF9 #FF8CFB #FFC9FD #FFE0FE

Accessibility & contrast

On white

2.02
#FF8CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#FF8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8CFB
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8CFB#FFFFFF#000000##000000
##FF8CFB1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#A4BCF7
Tritanopia (blue-blind)
#FF97B8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ff8cfb;
/* rgb */ color: rgb(255, 140, 251);
/* oklch */ color: oklch(80.1% 0.192 328.5);
Tailwind
colors: {
  custom: {
    50: '#ffb1fd',
    500: '#ff8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ff8cfb;
$custom-light: #ffb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8cfb",
  "rgb": {
    "r": 255,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 302.087,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.80139,
    "c": 0.19213,
    "h": 328.5
  },
  "luminance": 0.46981
}

Semantic roles & 50–950 ramp

primary
#FF8CFB
secondary
#D4F7D5
accent
#E60800
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FF8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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