#A382F9#A382F9

#A382F9 is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.9% C 0.171 H 294.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A382F9
RGBrgb(163, 130, 249)
HSLhsl(257, 91%, 74%)
HSVhsv(257, 48%, 98%)
CMYKcmyk(34.5%, 47.8%, 0%, 2.4%)
CIE-LABlab(62.16, 38.36, -55.27)
CIE-LCHlch(62.16, 67.28, 304.77°)
OKLaboklab(68.94% 0.0702 -0.1559)
OKLCHoklch(68.94% 0.171 294.2)
XYZxyz(40.1814, 30.5906, 93.3917)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A382F9 #D8F982
analogous
#829DF9 #A382F9 #DF82F9
triadic
#A382F9 #F9A382 #82F9A3
tetradic
#A382F9 #F9829D #D8F982 #82F9DF
square
#A382F9 #F9829D #D8F982 #82F9DF
split-complementary
#A382F9 #F9DF82 #9DF982
monochromatic
#4D0DF3 #7848F6 #A382F9 #CEBCFC #EAE2FE

Accessibility & contrast

On white

2.95
#A382F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#A382F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A382F9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A382F9#FFFFFF#000000##000000
##A382F91.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FD
Deuteranopia (green-blind)
#5E94F6
Tritanopia (blue-blind)
#8F99B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a382f9;
/* rgb */ color: rgb(163, 130, 249);
/* oklch */ color: oklch(68.9% 0.171 294.2);
Tailwind
colors: {
  custom: {
    50: '#c2a7fc',
    500: '#a382f9',
    950: '#000000',
  },
}
SCSS
$custom: #a382f9;
$custom-light: #c2a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a382f9",
  "rgb": {
    "r": 163,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 256.639,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.6894,
    "c": 0.17102,
    "h": 294.2
  },
  "luminance": 0.30591
}

Semantic roles & 50–950 ramp

primary
#A382F9
secondary
#EDF6D5
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A382F9

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

Preview Lab → · Contrast checker → · Palette generator →

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