#A145D5#A145D5

#A145D5 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.7% C 0.216 H 310.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A145D5
RGBrgb(161, 69, 213)
HSLhsl(278, 63%, 55%)
HSVhsv(278, 68%, 84%)
CMYKcmyk(24.4%, 67.6%, 0%, 16.5%)
CIE-LABlab(47.80, 60.96, -58.08)
CIE-LCHlch(47.80, 84.20, 316.39°)
OKLaboklab(57.68% 0.1411 -0.1641)
OKLCHoklch(57.68% 0.216 310.7)
XYZxyz(28.8340, 16.6381, 64.6304)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145D5 #79D545
analogous
#5945D5 #A145D5 #D545C1
triadic
#A145D5 #D5A145 #45D5A1
tetradic
#A145D5 #D55945 #79D545 #45C1D5
square
#A145D5 #D55945 #79D545 #45C1D5
split-complementary
#A145D5 #C1D545 #45D559
monochromatic
#5E1D82 #8229B4 #A145D5 #BA77E0 #D3A9EC

Accessibility & contrast

On white

4.85
#A145D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A145D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145D5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145D5#FFFFFF#000000##FFFFFF
##A145D51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#3173D2
Tritanopia (blue-blind)
#9A6388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a145d5;
/* rgb */ color: rgb(161, 69, 213);
/* oklch */ color: oklch(57.7% 0.216 310.7);
Tailwind
colors: {
  custom: {
    50: '#c17fe3',
    500: '#a145d5',
    950: '#000000',
  },
}
SCSS
$custom: #a145d5;
$custom-light: #c17fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#a145d5",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 278.333,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57676,
    "c": 0.21641,
    "h": 310.7
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#A145D5
secondary
#B3D99D
accent
#E6427D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A145D5

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

Preview Lab → · Contrast checker → · Palette generator →

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