#A341DC#A341DC

#A341DC is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.0% C 0.229 H 310.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A341DC
RGBrgb(163, 65, 220)
HSLhsl(278, 69%, 56%)
HSVhsv(278, 70%, 86%)
CMYKcmyk(25.9%, 70.5%, 0%, 13.7%)
CIE-LABlab(47.92, 64.56, -61.86)
CIE-LCHlch(47.92, 89.41, 316.22°)
OKLaboklab(57.97% 0.147 -0.1751)
OKLCHoklch(57.97% 0.229 310)
XYZxyz(29.9103, 16.7351, 69.3508)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A341DC #7ADC41
analogous
#5541DC #A341DC #DC41C8
triadic
#A341DC #DCA341 #41DCA3
tetradic
#A341DC #DC5541 #7ADC41 #41C8DC
square
#A341DC #DC5541 #7ADC41 #41C8DC
split-complementary
#A341DC #C8DC41 #41DC55
monochromatic
#601989 #8423BD #A341DC #BC75E6 #D5A8EF

Accessibility & contrast

On white

4.83
#A341DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A341DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A341DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A341DC#FFFFFF#000000##FFFFFF
##A341DC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#2373D9
Tritanopia (blue-blind)
#9B648A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a341dc;
/* rgb */ color: rgb(163, 65, 220);
/* oklch */ color: oklch(58.0% 0.229 310.0);
Tailwind
colors: {
  custom: {
    50: '#c37ee8',
    500: '#a341dc',
    950: '#000000',
  },
}
SCSS
$custom: #a341dc;
$custom-light: #c37ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a341dc",
  "rgb": {
    "r": 163,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 277.935,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57968,
    "c": 0.22862,
    "h": 310
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

primary
#A341DC
secondary
#B4DD9C
accent
#EC3C7D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A341DC

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

Preview Lab → · Contrast checker → · Palette generator →

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