#A145E2#A145E2

#A145E2 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.229 H 307.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A145E2
RGBrgb(161, 69, 226)
HSLhsl(275, 73%, 58%)
HSVhsv(275, 69%, 89%)
CMYKcmyk(28.8%, 69.5%, 0%, 11.4%)
CIE-LABlab(48.67, 63.77, -64.09)
CIE-LCHlch(48.67, 90.41, 314.86°)
OKLaboklab(58.57% 0.1396 -0.1817)
OKLCHoklch(58.57% 0.229 307.5)
XYZxyz(30.5506, 17.3247, 73.6713)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145E2 #86E245
analogous
#5245E2 #A145E2 #E245D5
triadic
#A145E2 #E2A145 #45E2A1
tetradic
#A145E2 #E25245 #86E245 #45D5E2
square
#A145E2 #E25245 #86E245 #45D5E2
split-complementary
#A145E2 #D5E245 #45E252
monochromatic
#611795 #8420CA #A145E2 #BC7AEA #D7AFF3

Accessibility & contrast

On white

4.70
#A145E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A145E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145E2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145E2#FFFFFF#000000##FFFFFF
##A145E21.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#1774DF
Tritanopia (blue-blind)
#96688F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a145e2;
/* rgb */ color: rgb(161, 69, 226);
/* oklch */ color: oklch(58.6% 0.229 307.5);
Tailwind
colors: {
  custom: {
    50: '#c280ec',
    500: '#a145e2',
    950: '#000000',
  },
}
SCSS
$custom: #a145e2;
$custom-light: #c280ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a145e2",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 275.159,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.22917,
    "h": 307.5
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#A145E2
secondary
#BCE1A2
accent
#F03884
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A145E2

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

Preview Lab → · Contrast checker → · Palette generator →

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