#A04DEB#A04DEB

#A04DEB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.228 H 304.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A04DEB
RGBrgb(160, 77, 235)
HSLhsl(272, 80%, 61%)
HSVhsv(272, 67%, 92%)
CMYKcmyk(31.9%, 67.2%, 0%, 7.8%)
CIE-LABlab(50.43, 62.02, -66.32)
CIE-LCHlch(50.43, 90.81, 313.08°)
OKLaboklab(60% 0.129 -0.1884)
OKLCHoklch(60% 0.228 304.4)
XYZxyz(32.1431, 18.7796, 80.5126)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04DEB #98EB4D
analogous
#514DEB #A04DEB #EB4DE7
triadic
#A04DEB #EBA04D #4DEBA0
tetradic
#A04DEB #EB514D #98EB4D #4DE7EB
square
#A04DEB #EB514D #98EB4D #4DE7EB
split-complementary
#A04DEB #E7EB4D #4DEB51
monochromatic
#6313AA #8219E1 #A04DEB #BD84F1 #DBBBF7

Accessibility & contrast

On white

4.42
#A04DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A04DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A04DEB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04DEB#FFFFFF#000000##000000
##A04DEB1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0C78E8
Tritanopia (blue-blind)
#927196
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a04deb;
/* rgb */ color: rgb(160, 77, 235);
/* oklch */ color: oklch(60.0% 0.228 304.4);
Tailwind
colors: {
  custom: {
    50: '#c184f2',
    500: '#a04deb',
    950: '#000000',
  },
}
SCSS
$custom: #a04deb;
$custom-light: #c184f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a04deb",
  "rgb": {
    "r": 160,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 271.519,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59995,
    "c": 0.22833,
    "h": 304.4
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#A04DEB
secondary
#C8E8AC
accent
#DC096D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A04DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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