#A382F4#A382F4

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

Color values

HEX#A382F4
RGBrgb(163, 130, 244)
HSLhsl(257, 84%, 73%)
HSVhsv(257, 47%, 96%)
CMYKcmyk(33.2%, 46.7%, 0%, 4.3%)
CIE-LABlab(61.90, 37.08, -52.93)
CIE-LCHlch(61.90, 64.63, 305.02°)
OKLaboklab(68.66% 0.0697 -0.1491)
OKLCHoklch(68.66% 0.165 295.1)
XYZxyz(39.4119, 30.2828, 89.3391)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A382F4 #D3F482
analogous
#829AF4 #A382F4 #DC82F4
triadic
#A382F4 #F4A382 #82F4A3
tetradic
#A382F4 #F4829A #D3F482 #82F4DC
square
#A382F4 #F4829A #D3F482 #82F4DC
split-complementary
#A382F4 #F4DC82 #9AF482
monochromatic
#5114E7 #7A4AEF #A382F4 #CCBAF9 #EAE3FD

Accessibility & contrast

On white

2.98
#A382F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A382F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A382F4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A382F4#FFFFFF#000000##000000
##A382F41.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F8
Deuteranopia (green-blind)
#6194F1
Tritanopia (blue-blind)
#9098AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a382f4;
/* rgb */ color: rgb(163, 130, 244);
/* oklch */ color: oklch(68.7% 0.165 295.1);
Tailwind
colors: {
  custom: {
    50: '#c1a7f8',
    500: '#a382f4',
    950: '#000000',
  },
}
SCSS
$custom: #a382f4;
$custom-light: #c1a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a382f4",
  "rgb": {
    "r": 163,
    "g": 130,
    "b": 244
  },
  "hsl": {
    "h": 257.368,
    "s": 83.824,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68658,
    "c": 0.16459,
    "h": 295.1
  },
  "luminance": 0.30283
}

Semantic roles & 50–950 ramp

primary
#A382F4
secondary
#ECF4D7
accent
#E005A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A382F4

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

Preview Lab → · Contrast checker → · Palette generator →

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