#A382F7#A382F7

#A382F7 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.168 H 294.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A382F7
RGBrgb(163, 130, 247)
HSLhsl(257, 88%, 74%)
HSVhsv(257, 47%, 97%)
CMYKcmyk(34%, 47.4%, 0%, 3.1%)
CIE-LABlab(62.05, 37.85, -54.33)
CIE-LCHlch(62.05, 66.22, 304.86°)
OKLaboklab(68.83% 0.07 -0.1532)
OKLCHoklch(68.83% 0.168 294.6)
XYZxyz(39.8711, 30.4665, 91.7576)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A382F7 #D6F782
analogous
#829CF7 #A382F7 #DE82F7
triadic
#A382F7 #F7A382 #82F7A3
tetradic
#A382F7 #F7829C #D6F782 #82F7DE
square
#A382F7 #F7829C #D6F782 #82F7DE
split-complementary
#A382F7 #F7DE82 #9CF782
monochromatic
#4E0FEF #7948F3 #A382F7 #CDBCFB #EAE2FD

Accessibility & contrast

On white

2.96
#A382F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A382F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A382F7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A382F7#FFFFFF#000000##000000
##A382F71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#8F99B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a382f7;
/* rgb */ color: rgb(163, 130, 247);
/* oklch */ color: oklch(68.8% 0.168 294.6);
Tailwind
colors: {
  custom: {
    50: '#c2a7fa',
    500: '#a382f7',
    950: '#000000',
  },
}
SCSS
$custom: #a382f7;
$custom-light: #c2a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a382f7",
  "rgb": {
    "r": 163,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 256.923,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68827,
    "c": 0.16845,
    "h": 294.6
  },
  "luminance": 0.30467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A382F7

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

Preview Lab → · Contrast checker → · Palette generator →

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