#A145DC#A145DC

#A145DC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.2% C 0.223 H 308.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A145DC
RGBrgb(161, 69, 220)
HSLhsl(277, 68%, 57%)
HSVhsv(277, 69%, 86%)
CMYKcmyk(26.8%, 68.6%, 0%, 13.7%)
CIE-LABlab(48.26, 62.46, -61.33)
CIE-LCHlch(48.26, 87.54, 315.52°)
OKLaboklab(58.15% 0.1404 -0.1736)
OKLCHoklch(58.15% 0.223 308.9)
XYZxyz(29.7417, 17.0011, 69.4110)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145DC #80DC45
analogous
#5645DC #A145DC #DC45CC
triadic
#A145DC #DCA145 #45DCA1
tetradic
#A145DC #DC5645 #80DC45 #45CCDC
square
#A145DC #DC5645 #80DC45 #45CCDC
split-complementary
#A145DC #CCDC45 #45DC56
monochromatic
#601A8C #8324C0 #A145DC #BB79E6 #D5ACEF

Accessibility & contrast

On white

4.77
#A145DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A145DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145DC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145DC#FFFFFF#000000##FFFFFF
##A145DC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#98668C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a145dc;
/* rgb */ color: rgb(161, 69, 220);
/* oklch */ color: oklch(58.2% 0.223 308.9);
Tailwind
colors: {
  custom: {
    50: '#c180e8',
    500: '#a145dc',
    950: '#000000',
  },
}
SCSS
$custom: #a145dc;
$custom-light: #c180e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a145dc",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 276.556,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58152,
    "c": 0.22328,
    "h": 308.9
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#A145DC
secondary
#B8DDA0
accent
#EB3D81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A145DC

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

Preview Lab → · Contrast checker → · Palette generator →

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