#A174EC#A174EC

#A174EC is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.7% C 0.175 H 298.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A174EC
RGBrgb(161, 116, 236)
HSLhsl(263, 76%, 69%)
HSVhsv(263, 51%, 93%)
CMYKcmyk(31.8%, 50.8%, 0%, 7.5%)
CIE-LABlab(58.15, 42.40, -54.47)
CIE-LCHlch(58.15, 69.02, 307.90°)
OKLaboklab(65.68% 0.0845 -0.1536)
OKLCHoklch(65.68% 0.175 298.8)
XYZxyz(36.0800, 26.1236, 82.4821)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174EC #BFEC74
analogous
#7483EC #A174EC #DD74EC
triadic
#A174EC #ECA174 #74ECA1
tetradic
#A174EC #EC7483 #BFEC74 #74ECDD
square
#A174EC #EC7483 #BFEC74 #74ECDD
split-complementary
#A174EC #ECDD74 #83EC74
monochromatic
#5D1CCA #7D3EE5 #A174EC #C5AAF3 #EAE0FB

Accessibility & contrast

On white

3.37
#A174EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A174EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174EC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174EC#FFFFFF#000000##000000
##A174EC1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#918BA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a174ec;
/* rgb */ color: rgb(161, 116, 236);
/* oklch */ color: oklch(65.7% 0.175 298.8);
Tailwind
colors: {
  custom: {
    50: '#c09df3',
    500: '#a174ec',
    950: '#000000',
  },
}
SCSS
$custom: #a174ec;
$custom-light: #c09df3;
$custom-dark: #000000;
JSON
{
  "hex": "#a174ec",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 262.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6568,
    "c": 0.17533,
    "h": 298.8
  },
  "luminance": 0.26124
}

Semantic roles & 50–950 ramp

primary
#A174EC
secondary
#E2EFCC
accent
#D80D8C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A174EC

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

Preview Lab → · Contrast checker → · Palette generator →

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