#A165DD#A165DD

#A165DD is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.4% C 0.180 H 304.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A165DD
RGBrgb(161, 101, 221)
HSLhsl(270, 64%, 63%)
HSVhsv(270, 54%, 87%)
CMYKcmyk(27.1%, 54.3%, 0%, 13.3%)
CIE-LABlab(54.14, 46.96, -52.47)
CIE-LCHlch(54.14, 70.41, 311.83°)
OKLaboklab(62.44% 0.1028 -0.1478)
OKLCHoklch(62.44% 0.18 304.8)
XYZxyz(32.3999, 22.1051, 70.9524)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165DD #A1DD65
analogous
#6565DD #A165DD #DD65DD
triadic
#A165DD #DDA165 #65DDA1
tetradic
#A165DD #DD6565 #A1DD65 #65DDDD
square
#A165DD #DD6565 #A1DD65 #65DDDD
split-complementary
#A165DD #DDDD65 #65DD65
monochromatic
#6424A4 #8233D2 #A165DD #C097E8 #DEC9F3

Accessibility & contrast

On white

3.87
#A165DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A165DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165DD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165DD#FFFFFF#000000##000000
##A165DD1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E1
Deuteranopia (green-blind)
#4F82DA
Tritanopia (blue-blind)
#977C97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a165dd;
/* rgb */ color: rgb(161, 101, 221);
/* oklch */ color: oklch(62.4% 0.180 304.8);
Tailwind
colors: {
  custom: {
    50: '#c093e8',
    500: '#a165dd',
    950: '#000000',
  },
}
SCSS
$custom: #a165dd;
$custom-light: #c093e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a165dd",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 270,
    "s": 63.83,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62438,
    "c": 0.18,
    "h": 304.8
  },
  "luminance": 0.22105
}

Semantic roles & 50–950 ramp

primary
#A165DD
secondary
#CFE4B9
accent
#CC1A73
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A165DD

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

Preview Lab → · Contrast checker → · Palette generator →

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