#A145D7#A145D7

#A145D7 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.218 H 310.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A145D7
RGBrgb(161, 69, 215)
HSLhsl(278, 65%, 56%)
HSVhsv(278, 68%, 84%)
CMYKcmyk(25.1%, 67.9%, 0%, 15.7%)
CIE-LABlab(47.93, 61.39, -59.01)
CIE-LCHlch(47.93, 85.15, 316.13°)
OKLaboklab(57.81% 0.1409 -0.1668)
OKLCHoklch(57.81% 0.218 310.2)
XYZxyz(29.0894, 16.7402, 65.9756)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145D7 #7BD745
analogous
#5845D7 #A145D7 #D745C4
triadic
#A145D7 #D7A145 #45D7A1
tetradic
#A145D7 #D75845 #7BD745 #45C4D7
square
#A145D7 #D75845 #7BD745 #45C4D7
split-complementary
#A145D7 #C4D745 #45D758
monochromatic
#5E1D85 #8227B7 #A145D7 #BA77E2 #D4AAED

Accessibility & contrast

On white

4.83
#A145D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A145D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145D7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145D7#FFFFFF#000000##FFFFFF
##A145D71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#2E73D4
Tritanopia (blue-blind)
#9A6489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a145d7;
/* rgb */ color: rgb(161, 69, 215);
/* oklch */ color: oklch(57.8% 0.218 310.2);
Tailwind
colors: {
  custom: {
    50: '#c17fe4',
    500: '#a145d7',
    950: '#000000',
  },
}
SCSS
$custom: #a145d7;
$custom-light: #c17fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#a145d7",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 277.808,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.21838,
    "h": 310.2
  },
  "luminance": 0.1674
}

Semantic roles & 50–950 ramp

primary
#A145D7
secondary
#B4DA9E
accent
#E8407E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A145D7

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

Preview Lab → · Contrast checker → · Palette generator →

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