#A145D6#A145D6

#A145D6 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.217 H 310.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A145D6
RGBrgb(161, 69, 214)
HSLhsl(278, 64%, 55%)
HSVhsv(278, 68%, 84%)
CMYKcmyk(24.8%, 67.8%, 0%, 16.1%)
CIE-LABlab(47.87, 61.17, -58.55)
CIE-LCHlch(47.87, 84.68, 316.26°)
OKLaboklab(57.74% 0.141 -0.1655)
OKLCHoklch(57.74% 0.217 310.4)
XYZxyz(28.9613, 16.6890, 65.3009)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145D6 #7AD645
analogous
#5845D6 #A145D6 #D645C2
triadic
#A145D6 #D6A145 #45D6A1
tetradic
#A145D6 #D65845 #7AD645 #45C2D6
square
#A145D6 #D65845 #7AD645 #45C2D6
split-complementary
#A145D6 #C2D645 #45D658
monochromatic
#5E1D84 #8228B6 #A145D6 #BA77E1 #D4A9EC

Accessibility & contrast

On white

4.84
#A145D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A145D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145D6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145D6#FFFFFF#000000##FFFFFF
##A145D61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#2F73D3
Tritanopia (blue-blind)
#9A6488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a145d6;
/* rgb */ color: rgb(161, 69, 214);
/* oklch */ color: oklch(57.7% 0.217 310.4);
Tailwind
colors: {
  custom: {
    50: '#c17fe3',
    500: '#a145d6',
    950: '#000000',
  },
}
SCSS
$custom: #a145d6;
$custom-light: #c17fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#a145d6",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 278.069,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.21739,
    "h": 310.4
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#A145D6
secondary
#B3DA9D
accent
#E7417E
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A145D6

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

Preview Lab → · Contrast checker → · Palette generator →

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