#A162FD#A162FD

#A162FD is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.0% C 0.221 H 298.7°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A162FD
RGBrgb(161, 98, 253)
HSLhsl(264, 97%, 69%)
HSVhsv(264, 61%, 99%)
CMYKcmyk(36.4%, 61.3%, 0%, 0.8%)
CIE-LABlab(55.49, 56.26, -68.19)
CIE-LCHlch(55.49, 88.40, 309.53°)
OKLaboklab(64.05% 0.1061 -0.1939)
OKLCHoklch(64.05% 0.221 298.7)
XYZxyz(36.7908, 23.4038, 95.4885)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162FD #BEFD62
analogous
#6271FD #A162FD #EE62FD
triadic
#A162FD #FDA162 #62FDA1
tetradic
#A162FD #FD6271 #BEFD62 #62FDEE
square
#A162FD #FD6271 #BEFD62 #62FDEE
split-complementary
#A162FD #FDEE62 #71FD62
monochromatic
#5D03E2 #7D26FC #A162FD #C59EFE #E9DBFF

Accessibility & contrast

On white

3.70
#A162FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#A162FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162FD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162FD#FFFFFF#000000##000000
##A162FD1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#1D83FA
Tritanopia (blue-blind)
#8C84A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a162fd;
/* rgb */ color: rgb(161, 98, 253);
/* oklch */ color: oklch(64.0% 0.221 298.7);
Tailwind
colors: {
  custom: {
    50: '#c292ff',
    500: '#a162fd',
    950: '#000000',
  },
}
SCSS
$custom: #a162fd;
$custom-light: #c292ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a162fd",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 264.387,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64045,
    "c": 0.22104,
    "h": 298.7
  },
  "luminance": 0.23404
}

Semantic roles & 50–950 ramp

primary
#A162FD
secondary
#E2F4C6
accent
#E60088
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A162FD

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

Preview Lab → · Contrast checker → · Palette generator →

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