#A165EA#A165EA

#A165EA is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.2% C 0.195 H 301.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A165EA
RGBrgb(161, 101, 234)
HSLhsl(267, 76%, 66%)
HSVhsv(267, 57%, 92%)
CMYKcmyk(31.2%, 56.8%, 0%, 8.2%)
CIE-LABlab(54.89, 50.06, -58.57)
CIE-LCHlch(54.89, 77.05, 310.52°)
OKLaboklab(63.23% 0.1031 -0.1656)
OKLCHoklch(63.23% 0.195 301.9)
XYZxyz(34.1995, 22.8249, 80.4299)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165EA #AEEA65
analogous
#656BEA #A165EA #E465EA
triadic
#A165EA #EAA165 #65EAA1
tetradic
#A165EA #EA656B #AEEA65 #65EAE4
square
#A165EA #EA656B #AEEA65 #65EAE4
split-complementary
#A165EA #EAE465 #6BEA65
monochromatic
#621ABB #802FE3 #A165EA #C29BF1 #E3D1F9

Accessibility & contrast

On white

3.77
#A165EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A165EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165EA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165EA#FFFFFF#000000##000000
##A165EA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82EE
Deuteranopia (green-blind)
#4383E7
Tritanopia (blue-blind)
#93809E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a165ea;
/* rgb */ color: rgb(161, 101, 234);
/* oklch */ color: oklch(63.2% 0.195 301.9);
Tailwind
colors: {
  custom: {
    50: '#c193f1',
    500: '#a165ea',
    950: '#000000',
  },
}
SCSS
$custom: #a165ea;
$custom-light: #c193f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a165ea",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 267.068,
    "s": 76,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63234,
    "c": 0.19513,
    "h": 301.9
  },
  "luminance": 0.22825
}

Semantic roles & 50–950 ramp

primary
#A165EA
secondary
#D8ECBF
accent
#D80D7D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A165EA

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

Preview Lab → · Contrast checker → · Palette generator →

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