#A04DFD#A04DFD

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

Color values

HEX#A04DFD
RGBrgb(160, 77, 253)
HSLhsl(268, 98%, 65%)
HSVhsv(268, 70%, 99%)
CMYKcmyk(36.8%, 69.6%, 0%, 0.8%)
CIE-LABlab(51.69, 66.18, -74.34)
CIE-LCHlch(51.69, 99.53, 311.68°)
OKLaboklab(61.3% 0.1264 -0.2119)
OKLCHoklch(61.3% 0.247 300.8)
XYZxyz(34.8764, 19.8729, 94.9079)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04DFD #AAFD4D
analogous
#4D52FD #A04DFD #F84DFD
triadic
#A04DFD #FDA04D #4DFDA0
tetradic
#A04DFD #FD4D52 #AAFD4D #4DFDF8
square
#A04DFD #FD4D52 #AAFD4D #4DFDF8
split-complementary
#A04DFD #FDF84D #52FD4D
monochromatic
#6202CD #8010FC #A04DFD #C08AFE #E1C6FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A04DFD#FFFFFF#000000##000000
##A04DFD1.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)
#007AF9
Tritanopia (blue-blind)
#8B78A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a04dfd;
/* rgb */ color: rgb(160, 77, 253);
/* oklch */ color: oklch(61.3% 0.247 300.8);
Tailwind
colors: {
  custom: {
    50: '#c385ff',
    500: '#a04dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a04dfd;
$custom-light: #c385ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a04dfd",
  "rgb": {
    "r": 160,
    "g": 77,
    "b": 253
  },
  "hsl": {
    "h": 268.295,
    "s": 97.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.24679,
    "h": 300.8
  },
  "luminance": 0.19873
}

Semantic roles & 50–950 ramp

primary
#A04DFD
secondary
#D5F1B5
accent
#E60079
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #A04DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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