#A145D9#A145D9

#A145D9 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.220 H 309.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A145D9
RGBrgb(161, 69, 217)
HSLhsl(277, 66%, 56%)
HSVhsv(277, 68%, 85%)
CMYKcmyk(25.8%, 68.2%, 0%, 14.9%)
CIE-LABlab(48.06, 61.82, -59.94)
CIE-LCHlch(48.06, 86.11, 315.88°)
OKLaboklab(57.95% 0.1407 -0.1696)
OKLCHoklch(57.95% 0.22 309.7)
XYZxyz(29.3480, 16.8436, 67.3373)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145D9 #7DD945
analogous
#5745D9 #A145D9 #D945C7
triadic
#A145D9 #D9A145 #45D9A1
tetradic
#A145D9 #D95745 #7DD945 #45C7D9
square
#A145D9 #D95745 #7DD945 #45C7D9
split-complementary
#A145D9 #C7D945 #45D957
monochromatic
#5F1C88 #8226BB #A145D9 #BB78E3 #D4ABEE

Accessibility & contrast

On white

4.81
#A145D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A145D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145D9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145D9#FFFFFF#000000##FFFFFF
##A145D91.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#2B73D6
Tritanopia (blue-blind)
#99658A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a145d9;
/* rgb */ color: rgb(161, 69, 217);
/* oklch */ color: oklch(57.9% 0.220 309.7);
Tailwind
colors: {
  custom: {
    50: '#c17fe6',
    500: '#a145d9',
    950: '#000000',
  },
}
SCSS
$custom: #a145d9;
$custom-light: #c17fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#a145d9",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 277.297,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57947,
    "c": 0.22034,
    "h": 309.7
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#A145D9
secondary
#B5DB9E
accent
#E93F7F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A145D9

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

Preview Lab → · Contrast checker → · Palette generator →

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