#A165DB#A165DB

#A165DB is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.3% C 0.178 H 305.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A165DB
RGBrgb(161, 101, 219)
HSLhsl(271, 62%, 63%)
HSVhsv(271, 54%, 86%)
CMYKcmyk(26.5%, 53.9%, 0%, 14.1%)
CIE-LABlab(54.03, 46.49, -51.51)
CIE-LCHlch(54.03, 69.39, 312.06°)
OKLaboklab(62.32% 0.1027 -0.145)
OKLCHoklch(62.32% 0.178 305.3)
XYZxyz(32.1351, 21.9991, 69.5574)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165DB #9FDB65
analogous
#6665DB #A165DB #DB65DA
triadic
#A165DB #DBA165 #65DBA1
tetradic
#A165DB #DB6665 #9FDB65 #65DADB
square
#A165DB #DB6665 #9FDB65 #65DADB
split-complementary
#A165DB #DADB65 #65DB66
monochromatic
#6425A0 #8333CF #A165DB #BF97E7 #DEC8F2

Accessibility & contrast

On white

3.89
#A165DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A165DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165DB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165DB#FFFFFF#000000##000000
##A165DB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#5181D8
Tritanopia (blue-blind)
#977B96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a165db;
/* rgb */ color: rgb(161, 101, 219);
/* oklch */ color: oklch(62.3% 0.178 305.3);
Tailwind
colors: {
  custom: {
    50: '#c093e7',
    500: '#a165db',
    950: '#000000',
  },
}
SCSS
$custom: #a165db;
$custom-light: #c093e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a165db",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 270.508,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62319,
    "c": 0.17767,
    "h": 305.3
  },
  "luminance": 0.21999
}

Semantic roles & 50–950 ramp

primary
#A165DB
secondary
#CEE3B9
accent
#CA1C71
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A165DB

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

Preview Lab → · Contrast checker → · Palette generator →

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