#A165EB#A165EB

#A165EB is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.3% C 0.196 H 301.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A165EB
RGBrgb(161, 101, 235)
HSLhsl(267, 77%, 66%)
HSVhsv(267, 57%, 92%)
CMYKcmyk(31.5%, 57%, 0%, 7.8%)
CIE-LABlab(54.95, 50.30, -59.03)
CIE-LCHlch(54.95, 77.56, 310.44°)
OKLaboklab(63.3% 0.1031 -0.167)
OKLCHoklch(63.3% 0.196 301.7)
XYZxyz(34.3435, 22.8825, 81.1886)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165EB #AFEB65
analogous
#656CEB #A165EB #E465EB
triadic
#A165EB #EBA165 #65EBA1
tetradic
#A165EB #EB656C #AFEB65 #65EBE4
square
#A165EB #EB656C #AFEB65 #65EBE4
split-complementary
#A165EB #EBE465 #6CEB65
monochromatic
#6219BD #802FE4 #A165EB #C29BF2 #E3D1F9

Accessibility & contrast

On white

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

On black

5.58
#A165EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165EB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165EB#FFFFFF#000000##000000
##A165EB1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#92809E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a165eb;
/* rgb */ color: rgb(161, 101, 235);
/* oklch */ color: oklch(63.3% 0.196 301.7);
Tailwind
colors: {
  custom: {
    50: '#c193f2',
    500: '#a165eb',
    950: '#000000',
  },
}
SCSS
$custom: #a165eb;
$custom-light: #c193f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a165eb",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 266.866,
    "s": 77.011,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63297,
    "c": 0.19629,
    "h": 301.7
  },
  "luminance": 0.22883
}

Semantic roles & 50–950 ramp

primary
#A165EB
secondary
#D8ECC0
accent
#D90C7D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A165EB

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

Preview Lab → · Contrast checker → · Palette generator →

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