#A145E0#A145E0

#A145E0 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.227 H 308.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A145E0
RGBrgb(161, 69, 224)
HSLhsl(276, 71%, 57%)
HSVhsv(276, 69%, 88%)
CMYKcmyk(28.1%, 69.2%, 0%, 12.2%)
CIE-LABlab(48.53, 63.33, -63.17)
CIE-LCHlch(48.53, 89.45, 315.07°)
OKLaboklab(58.43% 0.1399 -0.179)
OKLCHoklch(58.43% 0.227 308)
XYZxyz(30.2778, 17.2156, 72.2345)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145E0 #84E045
analogous
#5345E0 #A145E0 #E045D2
triadic
#A145E0 #E0A145 #45E0A1
tetradic
#A145E0 #E05345 #84E045 #45D2E0
square
#A145E0 #E05345 #84E045 #45D2E0
split-complementary
#A145E0 #D2E045 #45E053
monochromatic
#611892 #8321C7 #A145E0 #BC79E9 #D6AEF1

Accessibility & contrast

On white

4.73
#A145E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A145E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145E0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145E0#FFFFFF#000000##FFFFFF
##A145E01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#1D74DD
Tritanopia (blue-blind)
#97688E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a145e0;
/* rgb */ color: rgb(161, 69, 224);
/* oklch */ color: oklch(58.4% 0.227 308.0);
Tailwind
colors: {
  custom: {
    50: '#c280eb',
    500: '#a145e0',
    950: '#000000',
  },
}
SCSS
$custom: #a145e0;
$custom-light: #c280eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a145e0",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 275.613,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.22721,
    "h": 308
  },
  "luminance": 0.17215
}

Semantic roles & 50–950 ramp

primary
#A145E0
secondary
#BBE0A1
accent
#EE3A83
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A145E0

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

Preview Lab → · Contrast checker → · Palette generator →

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