#A165CC#A165CC

#A165CC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.160 H 309.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A165CC
RGBrgb(161, 101, 204)
HSLhsl(275, 50%, 60%)
HSVhsv(275, 50%, 80%)
CMYKcmyk(21.1%, 50.5%, 0%, 20%)
CIE-LABlab(53.22, 43.03, -44.29)
CIE-LCHlch(53.22, 61.74, 314.17°)
OKLaboklab(61.46% 0.1016 -0.1239)
OKLCHoklch(61.46% 0.16 309.3)
XYZxyz(30.2486, 21.2445, 59.6221)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165CC #90CC65
analogous
#6D65CC #A165CC #CC65C4
triadic
#A165CC #CCA165 #65CCA1
tetradic
#A165CC #CC6D65 #90CC65 #65C4CC
square
#A165CC #CC6D65 #90CC65 #65C4CC
split-complementary
#A165CC #C4CC65 #65CC6D
monochromatic
#632D89 #843DB7 #A165CC #BD93DB #D9C1EA

Accessibility & contrast

On white

4.00
#A165CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A165CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165CC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165CC#FFFFFF#000000##000000
##A165CC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CD0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#9B768F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a165cc;
/* rgb */ color: rgb(161, 101, 204);
/* oklch */ color: oklch(61.5% 0.160 309.3);
Tailwind
colors: {
  custom: {
    50: '#bf93dc',
    500: '#a165cc',
    950: '#000000',
  },
}
SCSS
$custom: #a165cc;
$custom-light: #bf93dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a165cc",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 274.951,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61457,
    "c": 0.16018,
    "h": 309.3
  },
  "luminance": 0.21244
}

Semantic roles & 50–950 ramp

primary
#A165CC
secondary
#C3DAB2
accent
#DA4E88
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A165CC

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

Preview Lab → · Contrast checker → · Palette generator →

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