#A04CFF#A04CFF

#A04CFF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.3% C 0.250 H 300.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A04CFF
RGBrgb(160, 76, 255)
HSLhsl(268, 100%, 65%)
HSVhsv(268, 70%, 100%)
CMYKcmyk(37.3%, 70.2%, 0%, 0%)
CIE-LABlab(51.68, 67.09, -75.47)
CIE-LCHlch(51.68, 100.97, 311.64°)
OKLaboklab(61.33% 0.127 -0.2153)
OKLCHoklch(61.33% 0.25 300.5)
XYZxyz(35.1272, 19.8622, 96.5715)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CFF #ABFF4C
analogous
#4C52FF #A04CFF #F94CFF
triadic
#A04CFF #FFA04C #4CFFA0
tetradic
#A04CFF #FF4C52 #ABFF4C #4CFFF9
square
#A04CFF #FF4C52 #ABFF4C #4CFFF9
split-complementary
#A04CFF #FFF94C #52FF4C
monochromatic
#6200D1 #800FFF #A04CFF #C089FF #E1C6FF

Accessibility & contrast

On white

4.22
#A04CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A04CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04CFF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CFF#FFFFFF#000000##000000
##A04CFF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#8B78A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a04cff;
/* rgb */ color: rgb(160, 76, 255);
/* oklch */ color: oklch(61.3% 0.250 300.5);
Tailwind
colors: {
  custom: {
    50: '#c385ff',
    500: '#a04cff',
    950: '#000000',
  },
}
SCSS
$custom: #a04cff;
$custom-light: #c385ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a04cff",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 255
  },
  "hsl": {
    "h": 268.156,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.24994,
    "h": 300.5
  },
  "luminance": 0.19862
}

Semantic roles & 50–950 ramp

primary
#A04CFF
secondary
#D5F2B5
accent
#E6007A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #A04CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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