#A165CE#A165CE

#A165CE is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.163 H 308.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A165CE
RGBrgb(161, 101, 206)
HSLhsl(274, 52%, 60%)
HSVhsv(274, 51%, 81%)
CMYKcmyk(21.8%, 51%, 0%, 19.2%)
CIE-LABlab(53.32, 43.48, -45.26)
CIE-LCHlch(53.32, 62.76, 313.85°)
OKLaboklab(61.57% 0.1017 -0.1267)
OKLCHoklch(61.57% 0.163 308.8)
XYZxyz(30.4900, 21.3411, 60.8936)
Luminance0.2134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A165CE #92CE65
analogous
#6D65CE #A165CE #CE65C6
triadic
#A165CE #CEA165 #65CEA1
tetradic
#A165CE #CE6D65 #92CE65 #65C6CE
square
#A165CE #CE6D65 #92CE65 #65C6CE
split-complementary
#A165CE #C6CE65 #65CE6D
monochromatic
#632D8C #843BBA #A165CE #BD93DD #DAC2EC

Accessibility & contrast

On white

3.99
#A165CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A165CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A165CE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A165CE#FFFFFF#000000##000000
##A165CE1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD2
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#9B7790
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a165ce;
/* rgb */ color: rgb(161, 101, 206);
/* oklch */ color: oklch(61.6% 0.163 308.8);
Tailwind
colors: {
  custom: {
    50: '#bf93dd',
    500: '#a165ce',
    950: '#000000',
  },
}
SCSS
$custom: #a165ce;
$custom-light: #bf93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a165ce",
  "rgb": {
    "r": 161,
    "g": 101,
    "b": 206
  },
  "hsl": {
    "h": 274.286,
    "s": 51.724,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.16251,
    "h": 308.8
  },
  "luminance": 0.21341
}

Semantic roles & 50–950 ramp

primary
#A165CE
secondary
#C5DCB3
accent
#BF2668
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A165CE

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

Preview Lab → · Contrast checker → · Palette generator →

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