#A382F5#A382F5

#A382F5 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.166 H 294.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A382F5
RGBrgb(163, 130, 245)
HSLhsl(257, 85%, 74%)
HSVhsv(257, 47%, 96%)
CMYKcmyk(33.5%, 46.9%, 0%, 3.9%)
CIE-LABlab(61.95, 37.34, -53.40)
CIE-LCHlch(61.95, 65.16, 304.96°)
OKLaboklab(68.71% 0.0698 -0.1505)
OKLCHoklch(68.71% 0.166 294.9)
XYZxyz(39.5641, 30.3437, 90.1409)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A382F5 #D4F582
analogous
#829AF5 #A382F5 #DC82F5
triadic
#A382F5 #F5A382 #82F5A3
tetradic
#A382F5 #F5829A #D4F582 #82F5DC
square
#A382F5 #F5829A #D4F582 #82F5DC
split-complementary
#A382F5 #F5DC82 #9AF582
monochromatic
#5013EA #7949F0 #A382F5 #CDBBFA #EAE3FD

Accessibility & contrast

On white

2.97
#A382F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#A382F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A382F5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A382F5#FFFFFF#000000##000000
##A382F51.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97F9
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#9098B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a382f5;
/* rgb */ color: rgb(163, 130, 245);
/* oklch */ color: oklch(68.7% 0.166 294.9);
Tailwind
colors: {
  custom: {
    50: '#c1a7f9',
    500: '#a382f5',
    950: '#000000',
  },
}
SCSS
$custom: #a382f5;
$custom-light: #c1a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a382f5",
  "rgb": {
    "r": 163,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 257.217,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68714,
    "c": 0.16588,
    "h": 294.9
  },
  "luminance": 0.30344
}

Semantic roles & 50–950 ramp

primary
#A382F5
secondary
#ECF5D6
accent
#E204A2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A382F5

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

Preview Lab → · Contrast checker → · Palette generator →

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