#A145E9#A145E9

#A145E9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.1% C 0.236 H 306.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A145E9
RGBrgb(161, 69, 233)
HSLhsl(274, 79%, 59%)
HSVhsv(274, 70%, 91%)
CMYKcmyk(30.9%, 70.4%, 0%, 8.6%)
CIE-LABlab(49.15, 65.30, -67.26)
CIE-LCHlch(49.15, 93.75, 314.15°)
OKLaboklab(59.07% 0.1386 -0.1911)
OKLCHoklch(59.07% 0.236 306)
XYZxyz(31.5308, 17.7168, 78.8336)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145E9 #8DE945
analogous
#4F45E9 #A145E9 #E945DF
triadic
#A145E9 #E9A145 #45E9A1
tetradic
#A145E9 #E94F45 #8DE945 #45DFE9
square
#A145E9 #E94F45 #8DE945 #45DFE9
split-complementary
#A145E9 #DFE945 #45E94F
monochromatic
#6213A1 #8419D7 #A145E9 #BD7CEF #D8B2F6

Accessibility & contrast

On white

4.62
#A145E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A145E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A145E9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145E9#FFFFFF#000000##FFFFFF
##A145E91.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#946B93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a145e9;
/* rgb */ color: rgb(161, 69, 233);
/* oklch */ color: oklch(59.1% 0.236 306.0);
Tailwind
colors: {
  custom: {
    50: '#c280f1',
    500: '#a145e9',
    950: '#000000',
  },
}
SCSS
$custom: #a145e9;
$custom-light: #c280f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a145e9",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 233
  },
  "hsl": {
    "h": 273.659,
    "s": 78.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.23605,
    "h": 306
  },
  "luminance": 0.17717
}

Semantic roles & 50–950 ramp

primary
#A145E9
secondary
#C1E5A5
accent
#F53288
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A145E9

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

Preview Lab → · Contrast checker → · Palette generator →

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