#A145F0#A145F0

#A145F0 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.6% C 0.243 H 304.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A145F0
RGBrgb(161, 69, 240)
HSLhsl(272, 85%, 61%)
HSVhsv(272, 71%, 94%)
CMYKcmyk(32.9%, 71.3%, 0%, 5.9%)
CIE-LABlab(49.65, 66.86, -70.39)
CIE-LCHlch(49.65, 97.08, 313.52°)
OKLaboklab(59.58% 0.1375 -0.2003)
OKLCHoklch(59.58% 0.243 304.5)
XYZxyz(32.5507, 18.1247, 84.2048)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145F0 #94F045
analogous
#4B45F0 #A145F0 #F045E9
triadic
#A145F0 #F0A145 #45F0A1
tetradic
#A145F0 #F04B45 #94F045 #45E9F0
square
#A145F0 #F04B45 #94F045 #45E9F0
split-complementary
#A145F0 #E9F045 #45F04B
monochromatic
#630EAD #8412E5 #A145F0 #BE7EF5 #DAB6F9

Accessibility & contrast

On white

4.54
#A145F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A145F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A145F0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145F0#FFFFFF#000000##000000
##A145F01.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#926E97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a145f0;
/* rgb */ color: rgb(161, 69, 240);
/* oklch */ color: oklch(59.6% 0.243 304.5);
Tailwind
colors: {
  custom: {
    50: '#c380f6',
    500: '#a145f0',
    950: '#000000',
  },
}
SCSS
$custom: #a145f0;
$custom-light: #c380f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a145f0",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 272.281,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59575,
    "c": 0.24292,
    "h": 304.5
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#A145F0
secondary
#C6E9A8
accent
#E2046A
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A145F0

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

Preview Lab → · Contrast checker → · Palette generator →

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