#A145D2#A145D2

#A145D2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.213 H 311.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A145D2
RGBrgb(161, 69, 210)
HSLhsl(279, 61%, 55%)
HSVhsv(279, 67%, 82%)
CMYKcmyk(23.3%, 67.1%, 0%, 17.6%)
CIE-LABlab(47.61, 60.32, -56.67)
CIE-LCHlch(47.61, 82.77, 316.79°)
OKLaboklab(57.48% 0.1414 -0.16)
OKLCHoklch(57.48% 0.213 311.5)
XYZxyz(28.4568, 16.4872, 62.6436)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145D2 #76D245
analogous
#5B45D2 #A145D2 #D245BD
triadic
#A145D2 #D2A145 #45D2A1
tetradic
#A145D2 #D25B45 #76D245 #45BDD2
square
#A145D2 #D25B45 #76D245 #45BDD2
split-complementary
#A145D2 #BDD245 #45D25B
monochromatic
#5D1F7E #812AAF #A145D2 #BA76DE #D3A8EA

Accessibility & contrast

On white

4.89
#A145D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A145D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145D2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145D2#FFFFFF#000000##FFFFFF
##A145D21.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#9B6286
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a145d2;
/* rgb */ color: rgb(161, 69, 210);
/* oklch */ color: oklch(57.5% 0.213 311.5);
Tailwind
colors: {
  custom: {
    50: '#c17fe0',
    500: '#a145d2',
    950: '#000000',
  },
}
SCSS
$custom: #a145d2;
$custom-light: #c17fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a145d2",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 279.149,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.21347,
    "h": 311.5
  },
  "luminance": 0.16486
}

Semantic roles & 50–950 ramp

primary
#A145D2
secondary
#B0D79C
accent
#E4447B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A145D2

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

Preview Lab → · Contrast checker → · Palette generator →

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