#A164F7#A164F7

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

Color values

HEX#A164F7
RGBrgb(161, 100, 247)
HSLhsl(265, 90%, 68%)
HSVhsv(265, 60%, 97%)
CMYKcmyk(34.8%, 59.5%, 0%, 3.1%)
CIE-LABlab(55.49, 53.76, -64.85)
CIE-LCHlch(55.49, 84.24, 309.65°)
OKLaboklab(63.93% 0.1041 -0.1841)
OKLCHoklch(63.93% 0.212 299.5)
XYZxyz(36.0395, 23.4065, 90.5968)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A164F7 #BAF764
analogous
#6470F7 #A164F7 #EA64F7
triadic
#A164F7 #F7A164 #64F7A1
tetradic
#A164F7 #F76470 #BAF764 #64F7EA
square
#A164F7 #F76470 #BAF764 #64F7EA
split-complementary
#A164F7 #F7EA64 #70F764
monochromatic
#5F0BD6 #7E2AF4 #A164F7 #C49EFA #E8D8FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A164F7#FFFFFF#000000##000000
##A164F71.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)
#0085FC
Deuteranopia (green-blind)
#2F84F4
Tritanopia (blue-blind)
#8E83A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a164f7;
/* rgb */ color: rgb(161, 100, 247);
/* oklch */ color: oklch(63.9% 0.212 299.5);
Tailwind
colors: {
  custom: {
    50: '#c293fb',
    500: '#a164f7',
    950: '#000000',
  },
}
SCSS
$custom: #a164f7;
$custom-light: #c293fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a164f7",
  "rgb": {
    "r": 161,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 264.898,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63925,
    "c": 0.21152,
    "h": 299.5
  },
  "luminance": 0.23407
}

Semantic roles & 50–950 ramp

primary
#A164F7
secondary
#DFF2C5
accent
#E60086
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A164F7

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

Preview Lab → · Contrast checker → · Palette generator →

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