#A162ED#A162ED

#A162ED is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.0% C 0.203 H 301.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A162ED
RGBrgb(161, 98, 237)
HSLhsl(267, 79%, 66%)
HSVhsv(267, 59%, 93%)
CMYKcmyk(32.1%, 58.6%, 0%, 7.1%)
CIE-LABlab(54.48, 52.36, -60.91)
CIE-LCHlch(54.48, 80.32, 310.68°)
OKLaboklab(62.99% 0.1067 -0.1725)
OKLCHoklch(62.99% 0.203 301.7)
XYZxyz(34.3481, 22.4268, 82.6236)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162ED #AEED62
analogous
#6268ED #A162ED #E662ED
triadic
#A162ED #EDA162 #62EDA1
tetradic
#A162ED #ED6268 #AEED62 #62EDE6
square
#A162ED #ED6268 #AEED62 #62EDE6
split-complementary
#A162ED #EDE662 #68ED62
monochromatic
#6216BF #802BE7 #A162ED #C299F3 #E3D0FA

Accessibility & contrast

On white

3.83
#A162ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#A162ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162ED
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162ED#FFFFFF#000000##000000
##A162ED1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1881F1
Deuteranopia (green-blind)
#3A82EA
Tritanopia (blue-blind)
#927F9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a162ed;
/* rgb */ color: rgb(161, 98, 237);
/* oklch */ color: oklch(63.0% 0.203 301.7);
Tailwind
colors: {
  custom: {
    50: '#c191f4',
    500: '#a162ed',
    950: '#000000',
  },
}
SCSS
$custom: #a162ed;
$custom-light: #c191f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a162ed",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 267.194,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62989,
    "c": 0.20286,
    "h": 301.7
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#A162ED
secondary
#D8EDBE
accent
#DC0A7D
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162ED

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

Preview Lab → · Contrast checker → · Palette generator →

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