#8C54FD#8C54FD

#8C54FD is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.237 H 293.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8C54FD
RGBrgb(140, 84, 253)
HSLhsl(260, 98%, 66%)
HSVhsv(260, 67%, 99%)
CMYKcmyk(44.7%, 66.8%, 0%, 0.8%)
CIE-LABlab(50.70, 59.30, -76.06)
CIE-LCHlch(50.70, 96.44, 307.94°)
OKLaboklab(60.09% 0.093 -0.2177)
OKLCHoklch(60.09% 0.237 293.1)
XYZxyz(31.7103, 19.0070, 94.9074)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C54FD #C5FD54
analogous
#5470FD #8C54FD #E154FD
triadic
#8C54FD #FD8C54 #54FD8C
tetradic
#8C54FD #FD5470 #C5FD54 #54FDE1
square
#8C54FD #FD5470 #C5FD54 #54FDE1
split-complementary
#8C54FD #FDE154 #70FD54
monochromatic
#4802D4 #6318FC #8C54FD #B590FE #DDCDFE

Accessibility & contrast

On white

4.37
#8C54FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8C54FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C54FD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C54FD#FFFFFF#000000##000000
##8C54FD1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0076FA
Tritanopia (blue-blind)
#6B7EA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8c54fd;
/* rgb */ color: rgb(140, 84, 253);
/* oklch */ color: oklch(60.1% 0.237 293.1);
Tailwind
colors: {
  custom: {
    50: '#b688ff',
    500: '#8c54fd',
    950: '#000000',
  },
}
SCSS
$custom: #8c54fd;
$custom-light: #b688ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8c54fd",
  "rgb": {
    "r": 140,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 259.882,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.23672,
    "h": 293.1
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#8C54FD
secondary
#E0F2BB
accent
#E60099
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8C54FD

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

Preview Lab → · Contrast checker → · Palette generator →

#8C54FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva