#A145DB#A145DB

#A145DB is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.1% C 0.222 H 309.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A145DB
RGBrgb(161, 69, 219)
HSLhsl(277, 68%, 56%)
HSVhsv(277, 68%, 86%)
CMYKcmyk(26.5%, 68.5%, 0%, 14.1%)
CIE-LABlab(48.19, 62.25, -60.87)
CIE-LCHlch(48.19, 87.06, 315.64°)
OKLaboklab(58.08% 0.1405 -0.1723)
OKLCHoklch(58.08% 0.222 309.2)
XYZxyz(29.6097, 16.9483, 68.7156)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145DB #7FDB45
analogous
#5645DB #A145DB #DB45CA
triadic
#A145DB #DBA145 #45DBA1
tetradic
#A145DB #DB5645 #7FDB45 #45CADB
square
#A145DB #DB5645 #7FDB45 #45CADB
split-complementary
#A145DB #CADB45 #45DB56
monochromatic
#5F1B8B #8325BE #A145DB #BB78E5 #D5ACEF

Accessibility & contrast

On white

4.78
#A145DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A145DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145DB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145DB#FFFFFF#000000##FFFFFF
##A145DB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#98668B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a145db;
/* rgb */ color: rgb(161, 69, 219);
/* oklch */ color: oklch(58.1% 0.222 309.2);
Tailwind
colors: {
  custom: {
    50: '#c180e7',
    500: '#a145db',
    950: '#000000',
  },
}
SCSS
$custom: #a145db;
$custom-light: #c180e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a145db",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 276.8,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.2223,
    "h": 309.2
  },
  "luminance": 0.16948
}

Semantic roles & 50–950 ramp

primary
#A145DB
secondary
#B7DD9F
accent
#EA3D80
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A145DB

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

Preview Lab → · Contrast checker → · Palette generator →

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