#A165E7#A165E7

#A165E7 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.192 H 302.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A165E7
RGBrgb(161, 101, 231)
HSLhsl(268, 73%, 65%)
HSVhsv(268, 56%, 91%)
CMYKcmyk(30.3%, 56.3%, 0%, 9.4%)
CIE-LABlab(54.71, 49.34, -57.17)
CIE-LCHlch(54.71, 75.52, 310.80°)
OKLaboklab(63.05% 0.1031 -0.1615)
OKLCHoklch(63.05% 0.192 302.5)
XYZxyz(33.7721, 22.6539, 78.1792)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165E7 #ABE765
analogous
#656AE7 #A165E7 #E265E7
triadic
#A165E7 #E7A165 #65E7A1
tetradic
#A165E7 #E7656A #ABE765 #65E7E2
square
#A165E7 #E7656A #ABE765 #65E7E2
split-complementary
#A165E7 #E7E265 #6AE765
monochromatic
#631CB5 #8130DF #A165E7 #C19AEF #E2CFF8

Accessibility & contrast

On white

3.80
#A165E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A165E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165E7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165E7#FFFFFF#000000##000000
##A165E71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EB
Deuteranopia (green-blind)
#4683E4
Tritanopia (blue-blind)
#947F9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a165e7;
/* rgb */ color: rgb(161, 101, 231);
/* oklch */ color: oklch(63.0% 0.192 302.5);
Tailwind
colors: {
  custom: {
    50: '#c093ef',
    500: '#a165e7',
    950: '#000000',
  },
}
SCSS
$custom: #a165e7;
$custom-light: #c093ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a165e7",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 267.692,
    "s": 73.034,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63047,
    "c": 0.19165,
    "h": 302.5
  },
  "luminance": 0.22654
}

Semantic roles & 50–950 ramp

primary
#A165E7
secondary
#D6EABE
accent
#D5107A
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A165E7

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

Preview Lab → · Contrast checker → · Palette generator →

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