#A165E8#A165E8

#A165E8 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.1% C 0.193 H 302.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A165E8
RGBrgb(161, 101, 232)
HSLhsl(267, 74%, 65%)
HSVhsv(267, 56%, 91%)
CMYKcmyk(30.6%, 56.5%, 0%, 9%)
CIE-LABlab(54.77, 49.58, -57.64)
CIE-LCHlch(54.77, 76.03, 310.70°)
OKLaboklab(63.11% 0.1031 -0.1629)
OKLCHoklch(63.11% 0.193 302.3)
XYZxyz(33.9138, 22.7106, 78.9252)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165E8 #ACE865
analogous
#656AE8 #A165E8 #E265E8
triadic
#A165E8 #E8A165 #65E8A1
tetradic
#A165E8 #E8656A #ACE865 #65E8E2
square
#A165E8 #E8656A #ACE865 #65E8E2
split-complementary
#A165E8 #E8E265 #6AE865
monochromatic
#631BB7 #8030E0 #A165E8 #C29AF0 #E2CFF8

Accessibility & contrast

On white

3.79
#A165E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A165E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165E8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165E8#FFFFFF#000000##000000
##A165E81.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#937F9D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a165e8;
/* rgb */ color: rgb(161, 101, 232);
/* oklch */ color: oklch(63.1% 0.193 302.3);
Tailwind
colors: {
  custom: {
    50: '#c193f0',
    500: '#a165e8',
    950: '#000000',
  },
}
SCSS
$custom: #a165e8;
$custom-light: #c193f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a165e8",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 232
  },
  "hsl": {
    "h": 267.481,
    "s": 74.011,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63109,
    "c": 0.19281,
    "h": 302.3
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#A165E8
secondary
#D6EABE
accent
#D60F7B
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A165E8

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

Preview Lab → · Contrast checker → · Palette generator →

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