#A165CA#A165CA

#A165CA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.3% C 0.158 H 309.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A165CA
RGBrgb(161, 101, 202)
HSLhsl(276, 49%, 59%)
HSVhsv(276, 50%, 79%)
CMYKcmyk(20.3%, 50%, 0%, 20.8%)
CIE-LABlab(53.11, 42.57, -43.31)
CIE-LCHlch(53.11, 60.73, 314.51°)
OKLaboklab(61.35% 0.1013 -0.121)
OKLCHoklch(61.35% 0.158 309.9)
XYZxyz(30.0103, 21.1492, 58.3669)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165CA #8ECA65
analogous
#6F65CA #A165CA #CA65C0
triadic
#A165CA #CAA165 #65CAA1
tetradic
#A165CA #CA6F65 #8ECA65 #65C0CA
square
#A165CA #CA6F65 #8ECA65 #65C0CA
split-complementary
#A165CA #C0CA65 #65CA6F
monochromatic
#632E86 #843EB4 #A165CA #BD93DA #D9C0E9

Accessibility & contrast

On white

4.02
#A165CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A165CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165CA#FFFFFF#000000##000000
##A165CA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#9C768E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a165ca;
/* rgb */ color: rgb(161, 101, 202);
/* oklch */ color: oklch(61.3% 0.158 309.9);
Tailwind
colors: {
  custom: {
    50: '#bf93da',
    500: '#a165ca',
    950: '#000000',
  },
}
SCSS
$custom: #a165ca;
$custom-light: #bf93da;
$custom-dark: #000000;
JSON
{
  "hex": "#a165ca",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 275.644,
    "s": 48.792,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.15785,
    "h": 309.9
  },
  "luminance": 0.21149
}

Semantic roles & 50–950 ramp

primary
#A165CA
secondary
#C2D9B2
accent
#D84F87
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A165CA

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

Preview Lab → · Contrast checker → · Palette generator →

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