#A145EA#A145EA

#A145EA is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.1% C 0.237 H 305.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A145EA
RGBrgb(161, 69, 234)
HSLhsl(273, 80%, 59%)
HSVhsv(273, 71%, 92%)
CMYKcmyk(31.2%, 70.5%, 0%, 8.2%)
CIE-LABlab(49.22, 65.53, -67.71)
CIE-LCHlch(49.22, 94.22, 314.06°)
OKLaboklab(59.14% 0.1385 -0.1924)
OKLCHoklch(59.14% 0.237 305.7)
XYZxyz(31.6741, 17.7741, 79.5881)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145EA #8EEA45
analogous
#4F45EA #A145EA #EA45E0
triadic
#A145EA #EAA145 #45EAA1
tetradic
#A145EA #EA4F45 #8EEA45 #45E0EA
square
#A145EA #EA4F45 #8EEA45 #45E0EA
split-complementary
#A145EA #E0EA45 #45EA4F
monochromatic
#6312A2 #8419D9 #A145EA #BD7CF0 #D9B3F6

Accessibility & contrast

On white

4.61
#A145EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A145EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A145EA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145EA#FFFFFF#000000##FFFFFF
##A145EA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#946C93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a145ea;
/* rgb */ color: rgb(161, 69, 234);
/* oklch */ color: oklch(59.1% 0.237 305.7);
Tailwind
colors: {
  custom: {
    50: '#c280f2',
    500: '#a145ea',
    950: '#000000',
  },
}
SCSS
$custom: #a145ea;
$custom-light: #c280f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a145ea",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 273.455,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.23703,
    "h": 305.7
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#A145EA
secondary
#C2E6A5
accent
#F63289
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A145EA

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

Preview Lab → · Contrast checker → · Palette generator →

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