#A145DD#A145DD

#A145DD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.2% C 0.224 H 308.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A145DD
RGBrgb(161, 69, 221)
HSLhsl(276, 69%, 57%)
HSVhsv(276, 69%, 87%)
CMYKcmyk(27.1%, 68.8%, 0%, 13.3%)
CIE-LABlab(48.33, 62.68, -61.79)
CIE-LCHlch(48.33, 88.02, 315.41°)
OKLaboklab(58.22% 0.1402 -0.175)
OKLCHoklch(58.22% 0.224 308.7)
XYZxyz(29.8746, 17.0543, 70.1106)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145DD #81DD45
analogous
#5545DD #A145DD #DD45CD
triadic
#A145DD #DDA145 #45DDA1
tetradic
#A145DD #DD5545 #81DD45 #45CDDD
square
#A145DD #DD5545 #81DD45 #45CDDD
split-complementary
#A145DD #CDDD45 #45DD55
monochromatic
#601A8E #8323C1 #A145DD #BB79E6 #D5ACF0

Accessibility & contrast

On white

4.76
#A145DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A145DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145DD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145DD#FFFFFF#000000##FFFFFF
##A145DD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#2474DA
Tritanopia (blue-blind)
#98668C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a145dd;
/* rgb */ color: rgb(161, 69, 221);
/* oklch */ color: oklch(58.2% 0.224 308.7);
Tailwind
colors: {
  custom: {
    50: '#c180e8',
    500: '#a145dd',
    950: '#000000',
  },
}
SCSS
$custom: #a145dd;
$custom-light: #c180e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a145dd",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 276.316,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.22426,
    "h": 308.7
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#A145DD
secondary
#B8DEA0
accent
#EC3C81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A145DD

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

Preview Lab → · Contrast checker → · Palette generator →

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