#A145DA#A145DA

#A145DA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.221 H 309.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A145DA
RGBrgb(161, 69, 218)
HSLhsl(277, 67%, 56%)
HSVhsv(277, 68%, 85%)
CMYKcmyk(26.1%, 68.3%, 0%, 14.5%)
CIE-LABlab(48.13, 62.03, -60.41)
CIE-LCHlch(48.13, 86.59, 315.76°)
OKLaboklab(58.02% 0.1406 -0.1709)
OKLCHoklch(58.02% 0.221 309.4)
XYZxyz(29.4784, 16.8958, 68.0244)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145DA #7EDA45
analogous
#5745DA #A145DA #DA45C9
triadic
#A145DA #DAA145 #45DAA1
tetradic
#A145DA #DA5745 #7EDA45 #45C9DA
square
#A145DA #DA5745 #7EDA45 #45C9DA
split-complementary
#A145DA #C9DA45 #45DA57
monochromatic
#5F1B89 #8325BC #A145DA #BB78E4 #D5ABEE

Accessibility & contrast

On white

4.80
#A145DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A145DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145DA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145DA#FFFFFF#000000##FFFFFF
##A145DA1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#2974D7
Tritanopia (blue-blind)
#99658A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a145da;
/* rgb */ color: rgb(161, 69, 218);
/* oklch */ color: oklch(58.0% 0.221 309.4);
Tailwind
colors: {
  custom: {
    50: '#c180e6',
    500: '#a145da',
    950: '#000000',
  },
}
SCSS
$custom: #a145da;
$custom-light: #c180e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a145da",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 277.047,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.22131,
    "h": 309.4
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#A145DA
secondary
#B6DC9F
accent
#EA3E80
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A145DA

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

Preview Lab → · Contrast checker → · Palette generator →

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