#8054FD#8054FD

#8054FD is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.237 H 289.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8054FD
RGBrgb(128, 84, 253)
HSLhsl(256, 98%, 66%)
HSVhsv(256, 67%, 99%)
CMYKcmyk(49.4%, 66.8%, 0%, 0.8%)
CIE-LABlab(49.52, 57.24, -78.02)
CIE-LCHlch(49.52, 96.77, 306.27°)
OKLaboklab(58.97% 0.077 -0.2238)
OKLCHoklch(58.97% 0.237 289)
XYZxyz(29.7969, 18.0204, 94.8177)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8054FD #D1FD54
analogous
#547CFD #8054FD #D454FD
triadic
#8054FD #FD8054 #54FD80
tetradic
#8054FD #FD547C #D1FD54 #54FDD4
square
#8054FD #FD547C #D1FD54 #54FDD4
split-complementary
#8054FD #FDD454 #7CFD54
monochromatic
#3902D4 #5318FC #8054FD #AD90FE #DACDFE

Accessibility & contrast

On white

4.56
#8054FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8054FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8054FD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8054FD#FFFFFF#000000##000000
##8054FD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0071FA
Tritanopia (blue-blind)
#547FA2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8054fd;
/* rgb */ color: rgb(128, 84, 253);
/* oklch */ color: oklch(59.0% 0.237 289.0);
Tailwind
colors: {
  custom: {
    50: '#af87ff',
    500: '#8054fd',
    950: '#000000',
  },
}
SCSS
$custom: #8054fd;
$custom-light: #af87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8054fd",
  "rgb": {
    "r": 128,
    "g": 84,
    "b": 253
  },
  "hsl": {
    "h": 255.621,
    "s": 97.688,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.23669,
    "h": 289
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#8054FD
secondary
#E4F2BB
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8054FD

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

Preview Lab → · Contrast checker → · Palette generator →

#8054FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva