#A165E5#A165E5

#A165E5 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.189 H 303.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A165E5
RGBrgb(161, 101, 229)
HSLhsl(268, 71%, 65%)
HSVhsv(268, 56%, 90%)
CMYKcmyk(29.7%, 55.9%, 0%, 10.2%)
CIE-LABlab(54.60, 48.86, -56.24)
CIE-LCHlch(54.60, 74.50, 310.99°)
OKLaboklab(62.92% 0.1031 -0.1588)
OKLCHoklch(62.92% 0.189 303)
XYZxyz(33.4913, 22.5416, 76.7001)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165E5 #A9E565
analogous
#6569E5 #A165E5 #E165E5
triadic
#A165E5 #E5A165 #65E5A1
tetradic
#A165E5 #E56569 #A9E565 #65E5E1
square
#A165E5 #E56569 #A9E565 #65E5E1
split-complementary
#A165E5 #E5E165 #69E565
monochromatic
#631EB2 #8131DC #A165E5 #C199EE #E1CEF7

Accessibility & contrast

On white

3.81
#A165E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A165E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165E5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165E5#FFFFFF#000000##000000
##A165E51.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3181E9
Deuteranopia (green-blind)
#4882E2
Tritanopia (blue-blind)
#947E9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a165e5;
/* rgb */ color: rgb(161, 101, 229);
/* oklch */ color: oklch(62.9% 0.189 303.0);
Tailwind
colors: {
  custom: {
    50: '#c093ee',
    500: '#a165e5',
    950: '#000000',
  },
}
SCSS
$custom: #a165e5;
$custom-light: #c093ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a165e5",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 229
  },
  "hsl": {
    "h": 268.125,
    "s": 71.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62923,
    "c": 0.18932,
    "h": 303
  },
  "luminance": 0.22542
}

Semantic roles & 50–950 ramp

primary
#A165E5
secondary
#D4E9BD
accent
#D31279
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A165E5

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

Preview Lab → · Contrast checker → · Palette generator →

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