#FF8CF2#FF8CF2

#FF8CF2 is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.8% C 0.184 H 331.4°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#FF8CF2
RGBrgb(255, 140, 242)
HSLhsl(307, 100%, 77%)
HSVhsv(307, 45%, 100%)
CMYKcmyk(0%, 45.1%, 5.1%, 0%)
CIE-LABlab(73.82, 57.03, -32.44)
CIE-LCHlch(73.82, 65.61, 330.37°)
OKLaboklab(79.76% 0.162 -0.0882)
OKLCHoklch(79.76% 0.184 331.4)
XYZxyz(66.6446, 46.4308, 89.4389)
Luminance0.4643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF8CF2 #8CFF99
analogous
#D38CFF #FF8CF2 #FF8CB8
triadic
#FF8CF2 #F2FF8C #8CF2FF
tetradic
#FF8CF2 #FFD38C #8CFF99 #8CB8FF
square
#FF8CF2 #FFD38C #8CFF99 #8CB8FF
split-complementary
#FF8CF2 #B8FF8C #8CFFD3
monochromatic
#FF12E4 #FF4FEB #FF8CF2 #FFC9F9 #FFE0FC

Accessibility & contrast

On white

2.04
#FF8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#FF8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF8CF2
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF8CF2#FFFFFF#000000##000000
##FF8CF21.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF6
Deuteranopia (green-blind)
#A8BBEF
Tritanopia (blue-blind)
#FF94B4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ff8cf2;
/* rgb */ color: rgb(255, 140, 242);
/* oklch */ color: oklch(79.8% 0.184 331.4);
Tailwind
colors: {
  custom: {
    50: '#ffb1f6',
    500: '#ff8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ff8cf2;
$custom-light: #ffb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff8cf2",
  "rgb": {
    "r": 255,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 306.783,
    "s": 100,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79757,
    "c": 0.18443,
    "h": 331.4
  },
  "luminance": 0.46427
}

Semantic roles & 50–950 ramp

primary
#FF8CF2
secondary
#D4F7D8
accent
#E61A00
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FF8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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