#A145D8#A145D8

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

Color values

HEX#A145D8
RGBrgb(161, 69, 216)
HSLhsl(278, 65%, 56%)
HSVhsv(278, 68%, 85%)
CMYKcmyk(25.5%, 68.1%, 0%, 15.3%)
CIE-LABlab(48.00, 61.60, -59.48)
CIE-LCHlch(48.00, 85.63, 316.00°)
OKLaboklab(57.88% 0.1408 -0.1682)
OKLCHoklch(57.88% 0.219 309.9)
XYZxyz(29.2183, 16.7918, 66.6544)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145D8 #7CD845
analogous
#5745D8 #A145D8 #D845C5
triadic
#A145D8 #D8A145 #45D8A1
tetradic
#A145D8 #D85745 #7CD845 #45C5D8
square
#A145D8 #D85745 #7CD845 #45C5D8
split-complementary
#A145D8 #C5D845 #45D857
monochromatic
#5F1C86 #8227B9 #A145D8 #BB78E3 #D4AAED

Accessibility & contrast

On white

4.82
#A145D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A145D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145D8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145D8#FFFFFF#000000##FFFFFF
##A145D81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#2C73D5
Tritanopia (blue-blind)
#996589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a145d8;
/* rgb */ color: rgb(161, 69, 216);
/* oklch */ color: oklch(57.9% 0.219 309.9);
Tailwind
colors: {
  custom: {
    50: '#c17fe5',
    500: '#a145d8',
    950: '#000000',
  },
}
SCSS
$custom: #a145d8;
$custom-light: #c17fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#a145d8",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 277.551,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.21936,
    "h": 309.9
  },
  "luminance": 0.16791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A145D8

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

Preview Lab → · Contrast checker → · Palette generator →

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