#A165CD#A165CD

#A165CD is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.5% C 0.161 H 309.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A165CD
RGBrgb(161, 101, 205)
HSLhsl(275, 51%, 60%)
HSVhsv(275, 51%, 80%)
CMYKcmyk(21.5%, 50.7%, 0%, 19.6%)
CIE-LABlab(53.27, 43.25, -44.77)
CIE-LCHlch(53.27, 62.25, 314.01°)
OKLaboklab(61.51% 0.1017 -0.1253)
OKLCHoklch(61.51% 0.161 309.1)
XYZxyz(30.3690, 21.2927, 60.2558)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165CD #91CD65
analogous
#6D65CD #A165CD #CD65C5
triadic
#A165CD #CDA165 #65CDA1
tetradic
#A165CD #CD6D65 #91CD65 #65C5CD
square
#A165CD #CD6D65 #91CD65 #65C5CD
split-complementary
#A165CD #C5CD65 #65CD6D
monochromatic
#632D8B #843CB9 #A165CD #BD93DC #D9C1EB

Accessibility & contrast

On white

3.99
#A165CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A165CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165CD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165CD#FFFFFF#000000##000000
##A165CD1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#9B7790
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a165cd;
/* rgb */ color: rgb(161, 101, 205);
/* oklch */ color: oklch(61.5% 0.161 309.1);
Tailwind
colors: {
  custom: {
    50: '#bf93dd',
    500: '#a165cd',
    950: '#000000',
  },
}
SCSS
$custom: #a165cd;
$custom-light: #bf93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a165cd",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 274.615,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.16135,
    "h": 309.1
  },
  "luminance": 0.21292
}

Semantic roles & 50–950 ramp

primary
#A165CD
secondary
#C4DBB3
accent
#DA4D89
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A165CD

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

Preview Lab → · Contrast checker → · Palette generator →

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