#A164F2#A164F2

#A164F2 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.6% C 0.206 H 300.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A164F2
RGBrgb(161, 100, 242)
HSLhsl(266, 85%, 67%)
HSVhsv(266, 59%, 95%)
CMYKcmyk(33.5%, 58.7%, 0%, 5.1%)
CIE-LABlab(55.18, 52.53, -62.57)
CIE-LCHlch(55.18, 81.70, 310.01°)
OKLaboklab(63.6% 0.1043 -0.1774)
OKLCHoklch(63.6% 0.206 300.4)
XYZxyz(35.2783, 23.1020, 86.5877)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A164F2 #B5F264
analogous
#646EF2 #A164F2 #E864F2
triadic
#A164F2 #F2A164 #64F2A1
tetradic
#A164F2 #F2646E #B5F264 #64F2E8
square
#A164F2 #F2646E #B5F264 #64F2E8
split-complementary
#A164F2 #F2E864 #6EF264
monochromatic
#6111CB #7F2CED #A164F2 #C39CF7 #E5D5FB

Accessibility & contrast

On white

3.74
#A164F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A164F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A164F2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A164F2#FFFFFF#000000##000000
##A164F21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F7
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#9082A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a164f2;
/* rgb */ color: rgb(161, 100, 242);
/* oklch */ color: oklch(63.6% 0.206 300.4);
Tailwind
colors: {
  custom: {
    50: '#c193f7',
    500: '#a164f2',
    950: '#000000',
  },
}
SCSS
$custom: #a164f2;
$custom-light: #c193f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a164f2",
  "rgb": {
    "r": 161,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 265.775,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63598,
    "c": 0.20579,
    "h": 300.4
  },
  "luminance": 0.23102
}

Semantic roles & 50–950 ramp

primary
#A164F2
secondary
#DCEFC2
accent
#E10582
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A164F2

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

Preview Lab → · Contrast checker → · Palette generator →

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