#804FFC#804FFC

#804FFC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.241 H 289.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#804FFC
RGBrgb(128, 79, 252)
HSLhsl(257, 97%, 65%)
HSVhsv(257, 69%, 99%)
CMYKcmyk(49.2%, 68.7%, 0%, 1.2%)
CIE-LABlab(48.52, 59.52, -79.10)
CIE-LCHlch(48.52, 98.99, 306.96°)
OKLaboklab(58.23% 0.0816 -0.227)
OKLCHoklch(58.23% 0.241 289.8)
XYZxyz(29.2637, 17.2082, 93.8562)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804FFC #CBFC4F
analogous
#4F75FC #804FFC #D64FFC
triadic
#804FFC #FC804F #4FFC80
tetradic
#804FFC #FC4F75 #CBFC4F #4FFCD6
square
#804FFC #FC4F75 #CBFC4F #4FFCD6
split-complementary
#804FFC #FCD64F #75FC4F
monochromatic
#3D03CD #5513FB #804FFC #AB8BFD #D7C7FE

Accessibility & contrast

On white

4.73
#804FFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#804FFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804FFC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804FFC#FFFFFF#000000##FFFFFF
##804FFC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006FF9
Tritanopia (blue-blind)
#557BA0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #804ffc;
/* rgb */ color: rgb(128, 79, 252);
/* oklch */ color: oklch(58.2% 0.241 289.8);
Tailwind
colors: {
  custom: {
    50: '#af84ff',
    500: '#804ffc',
    950: '#000000',
  },
}
SCSS
$custom: #804ffc;
$custom-light: #af84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#804ffc",
  "rgb": {
    "r": 128,
    "g": 79,
    "b": 252
  },
  "hsl": {
    "h": 256.994,
    "s": 96.648,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58232,
    "c": 0.24119,
    "h": 289.8
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

primary
#804FFC
secondary
#E0F1B6
accent
#E600A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #804FFC

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

Preview Lab → · Contrast checker → · Palette generator →

#804FFC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva