#A173F5#A173F5

#A173F5 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.188 H 297.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A173F5
RGBrgb(161, 115, 245)
HSLhsl(261, 87%, 71%)
HSVhsv(261, 53%, 96%)
CMYKcmyk(34.3%, 53.1%, 0%, 3.9%)
CIE-LABlab(58.44, 45.21, -59.00)
CIE-LCHlch(58.44, 74.33, 307.46°)
OKLaboklab(66.06% 0.0862 -0.1669)
OKLCHoklch(66.06% 0.188 297.3)
XYZxyz(37.3060, 26.4306, 89.5046)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A173F5 #C7F573
analogous
#7386F5 #A173F5 #E273F5
triadic
#A173F5 #F5A173 #73F5A1
tetradic
#A173F5 #F57386 #C7F573 #73F5E2
square
#A173F5 #F57386 #C7F573 #73F5E2
split-complementary
#A173F5 #F5E273 #86F573
monochromatic
#5910DE #7B3AF1 #A173F5 #C7ACF9 #ECE2FD

Accessibility & contrast

On white

3.34
#A173F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A173F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A173F5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A173F5#FFFFFF#000000##000000
##A173F51.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#4B8BF2
Tritanopia (blue-blind)
#8E8DA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a173f5;
/* rgb */ color: rgb(161, 115, 245);
/* oklch */ color: oklch(66.1% 0.188 297.3);
Tailwind
colors: {
  custom: {
    50: '#c19cf9',
    500: '#a173f5',
    950: '#000000',
  },
}
SCSS
$custom: #a173f5;
$custom-light: #c19cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a173f5",
  "rgb": {
    "r": 161,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 261.231,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66057,
    "c": 0.1879,
    "h": 297.3
  },
  "luminance": 0.26431
}

Semantic roles & 50–950 ramp

primary
#A173F5
secondary
#E7F4D0
accent
#E30294
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A173F5

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

Preview Lab → · Contrast checker → · Palette generator →

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