#A804FF#A804FF

#A804FF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 57.9% C 0.297 H 306.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A804FF
RGBrgb(168, 4, 255)
HSLhsl(279, 100%, 51%)
HSVhsv(279, 98%, 100%)
CMYKcmyk(34.1%, 98.4%, 0%, 0%)
CIE-LABlab(46.49, 86.42, -83.91)
CIE-LCHlch(46.49, 120.45, 315.84°)
OKLaboklab(57.94% 0.1764 -0.2394)
OKLCHoklch(57.94% 0.297 306.4)
XYZxyz(34.2378, 15.6320, 95.8019)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A804FF #5BFF04
analogous
#2A04FF #A804FF #FF04D9
triadic
#A804FF #FFA804 #04FFA8
tetradic
#A804FF #FF2A04 #5BFF04 #04D9FF
square
#A804FF #FF2A04 #5BFF04 #04D9FF
split-complementary
#A804FF #D9FF04 #04FF2A
monochromatic
#590089 #8100C6 #A804FF #BD41FF #D27EFF

Accessibility & contrast

On white

5.09
#A804FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A804FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A804FF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A804FF#FFFFFF#000000##FFFFFF
##A804FF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AFF
Deuteranopia (green-blind)
#006FFB
Tritanopia (blue-blind)
#986096
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a804ff;
/* rgb */ color: rgb(168, 4, 255);
/* oklch */ color: oklch(57.9% 0.297 306.4);
Tailwind
colors: {
  custom: {
    50: '#ca6eff',
    500: '#a804ff',
    950: '#000000',
  },
}
SCSS
$custom: #a804ff;
$custom-light: #ca6eff;
$custom-dark: #000000;
JSON
{
  "hex": "#a804ff",
  "rgb": {
    "r": 168,
    "g": 4,
    "b": 255
  },
  "hsl": {
    "h": 279.203,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57943,
    "c": 0.29735,
    "h": 306.4
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#A804FF
secondary
#9EE778
accent
#FF2973
background
#FDF7FF
surface
#FAEDFF
border
#D3C8D7
text
#150918
muted
#837B86

Preview Lab

Preview with #A804FF

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

Preview Lab → · Contrast checker → · Palette generator →

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