#A182F8#A182F8

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

Color values

HEX#A182F8
RGBrgb(161, 130, 248)
HSLhsl(256, 89%, 74%)
HSVhsv(256, 48%, 97%)
CMYKcmyk(35.1%, 47.6%, 0%, 2.7%)
CIE-LABlab(61.93, 37.60, -55.10)
CIE-LCHlch(61.93, 66.71, 304.31°)
OKLaboklab(68.71% 0.0678 -0.1555)
OKLCHoklch(68.71% 0.17 293.5)
XYZxyz(39.6195, 30.3188, 92.5534)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A182F8 #D9F882
analogous
#829EF8 #A182F8 #DC82F8
triadic
#A182F8 #F8A182 #82F8A1
tetradic
#A182F8 #F8829E #D9F882 #82F8DC
square
#A182F8 #F8829E #D9F882 #82F8DC
split-complementary
#A182F8 #F8DC82 #9EF882
monochromatic
#4A0EF2 #7548F5 #A182F8 #CDBCFB #E9E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A182F8#FFFFFF#000000##000000
##A182F81.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#5D94F5
Tritanopia (blue-blind)
#8C99B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a182f8;
/* rgb */ color: rgb(161, 130, 248);
/* oklch */ color: oklch(68.7% 0.170 293.5);
Tailwind
colors: {
  custom: {
    50: '#c0a7fb',
    500: '#a182f8',
    950: '#000000',
  },
}
SCSS
$custom: #a182f8;
$custom-light: #c0a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a182f8",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 255.763,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68707,
    "c": 0.16961,
    "h": 293.5
  },
  "luminance": 0.3032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A182F8

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

Preview Lab → · Contrast checker → · Palette generator →

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