#A162CE#A162CE

#A162CE is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.167 H 309.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A162CE
RGBrgb(161, 98, 206)
HSLhsl(275, 52%, 60%)
HSVhsv(275, 52%, 81%)
CMYKcmyk(21.8%, 52.4%, 0%, 19.2%)
CIE-LABlab(52.70, 45.10, -46.25)
CIE-LCHlch(52.70, 64.60, 314.28°)
OKLaboklab(61.11% 0.1058 -0.1296)
OKLCHoklch(61.11% 0.167 309.2)
XYZxyz(30.2041, 20.7691, 60.7982)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162CE #8FCE62
analogous
#6B62CE #A162CE #CE62C5
triadic
#A162CE #CEA162 #62CEA1
tetradic
#A162CE #CE6B62 #8FCE62 #62C5CE
square
#A162CE #CE6B62 #8FCE62 #62C5CE
split-complementary
#A162CE #C5CE62 #62CE6B
monochromatic
#632B8A #843AB9 #A162CE #BD91DD #D9BFEB

Accessibility & contrast

On white

4.07
#A162CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A162CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162CE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162CE#FFFFFF#000000##000000
##A162CE1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD2
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#9B758F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a162ce;
/* rgb */ color: rgb(161, 98, 206);
/* oklch */ color: oklch(61.1% 0.167 309.2);
Tailwind
colors: {
  custom: {
    50: '#bf91dd',
    500: '#a162ce',
    950: '#000000',
  },
}
SCSS
$custom: #a162ce;
$custom-light: #bf91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a162ce",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 275,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.1673,
    "h": 309.2
  },
  "luminance": 0.20769
}

Semantic roles & 50–950 ramp

primary
#A162CE
secondary
#C2DBB1
accent
#DC4C88
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A162CE

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

Preview Lab → · Contrast checker → · Palette generator →

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