#A165E4#A165E4

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

Color values

HEX#A165E4
RGBrgb(161, 101, 228)
HSLhsl(268, 70%, 65%)
HSVhsv(268, 56%, 89%)
CMYKcmyk(29.4%, 55.7%, 0%, 10.6%)
CIE-LABlab(54.54, 48.62, -55.77)
CIE-LCHlch(54.54, 73.99, 311.08°)
OKLaboklab(62.86% 0.103 -0.1574)
OKLCHoklch(62.86% 0.188 303.2)
XYZxyz(33.3521, 22.4859, 75.9669)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165E4 #A8E465
analogous
#6569E4 #A165E4 #E065E4
triadic
#A165E4 #E4A165 #65E4A1
tetradic
#A165E4 #E46569 #A8E465 #65E4E0
square
#A165E4 #E46569 #A8E465 #65E4E0
split-complementary
#A165E4 #E4E065 #69E465
monochromatic
#631FB0 #8131DB #A165E4 #C199ED #E1CDF6

Accessibility & contrast

On white

3.82
#A165E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#A165E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165E4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165E4#FFFFFF#000000##000000
##A165E41.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3281E8
Deuteranopia (green-blind)
#4982E1
Tritanopia (blue-blind)
#957E9B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a165e4;
/* rgb */ color: rgb(161, 101, 228);
/* oklch */ color: oklch(62.9% 0.188 303.2);
Tailwind
colors: {
  custom: {
    50: '#c093ed',
    500: '#a165e4',
    950: '#000000',
  },
}
SCSS
$custom: #a165e4;
$custom-light: #c093ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a165e4",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 268.346,
    "s": 70.166,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.18816,
    "h": 303.2
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

primary
#A165E4
secondary
#D4E8BC
accent
#D21378
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A165E4

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

Preview Lab → · Contrast checker → · Palette generator →

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