#A182F5#A182F5

#A182F5 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.5% C 0.166 H 294.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A182F5
RGBrgb(161, 130, 245)
HSLhsl(256, 85%, 74%)
HSVhsv(256, 47%, 96%)
CMYKcmyk(34.3%, 46.9%, 0%, 3.9%)
CIE-LABlab(61.77, 36.83, -53.70)
CIE-LCHlch(61.77, 65.11, 304.45°)
OKLaboklab(68.54% 0.0674 -0.1514)
OKLCHoklch(68.54% 0.166 294)
XYZxyz(39.1578, 30.1342, 90.1219)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A182F5 #D6F582
analogous
#829CF5 #A182F5 #DA82F5
triadic
#A182F5 #F5A182 #82F5A1
tetradic
#A182F5 #F5829C #D6F582 #82F5DA
square
#A182F5 #F5829C #D6F582 #82F5DA
split-complementary
#A182F5 #F5DA82 #9CF582
monochromatic
#4D13EA #7649F0 #A182F5 #CCBBFA #EAE3FD

Accessibility & contrast

On white

2.99
#A182F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#A182F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A182F5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A182F5#FFFFFF#000000##000000
##A182F51.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F9
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#8D98B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a182f5;
/* rgb */ color: rgb(161, 130, 245);
/* oklch */ color: oklch(68.5% 0.166 294.0);
Tailwind
colors: {
  custom: {
    50: '#c0a7f9',
    500: '#a182f5',
    950: '#000000',
  },
}
SCSS
$custom: #a182f5;
$custom-light: #c0a7f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a182f5",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 256.174,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68536,
    "c": 0.16573,
    "h": 294
  },
  "luminance": 0.30135
}

Semantic roles & 50–950 ramp

primary
#A182F5
secondary
#EDF5D6
accent
#E204A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A182F5

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

Preview Lab → · Contrast checker → · Palette generator →

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