#A162CF#A162CF

#A162CF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.2% C 0.168 H 308.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A162CF
RGBrgb(161, 98, 207)
HSLhsl(275, 53%, 60%)
HSVhsv(275, 53%, 81%)
CMYKcmyk(22.2%, 52.7%, 0%, 18.8%)
CIE-LABlab(52.75, 45.33, -46.74)
CIE-LCHlch(52.75, 65.11, 314.12°)
OKLaboklab(61.16% 0.1059 -0.131)
OKLCHoklch(61.16% 0.168 308.9)
XYZxyz(30.3259, 20.8179, 61.4401)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162CF #90CF62
analogous
#6B62CF #A162CF #CF62C7
triadic
#A162CF #CFA162 #62CFA1
tetradic
#A162CF #CF6B62 #90CF62 #62C7CF
square
#A162CF #CF6B62 #90CF62 #62C7CF
split-complementary
#A162CF #C7CF62 #62CF6B
monochromatic
#632B8C #8439BB #A162CF #BD91DD #D9C0EC

Accessibility & contrast

On white

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

On black

5.16
#A162CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162CF#FFFFFF#000000##000000
##A162CF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#9B758F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a162cf;
/* rgb */ color: rgb(161, 98, 207);
/* oklch */ color: oklch(61.2% 0.168 308.9);
Tailwind
colors: {
  custom: {
    50: '#bf91de',
    500: '#a162cf',
    950: '#000000',
  },
}
SCSS
$custom: #a162cf;
$custom-light: #bf91de;
$custom-dark: #000000;
JSON
{
  "hex": "#a162cf",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 274.679,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.16844,
    "h": 308.9
  },
  "luminance": 0.20817
}

Semantic roles & 50–950 ramp

primary
#A162CF
secondary
#C3DBB1
accent
#DD4B89
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A162CF

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

Preview Lab → · Contrast checker → · Palette generator →

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