#A341DF#A341DF

#A341DF is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.2% C 0.231 H 309.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A341DF
RGBrgb(163, 65, 223)
HSLhsl(277, 71%, 56%)
HSVhsv(277, 71%, 87%)
CMYKcmyk(26.9%, 70.9%, 0%, 12.5%)
CIE-LABlab(48.13, 65.19, -63.24)
CIE-LCHlch(48.13, 90.83, 315.87°)
OKLaboklab(58.18% 0.1466 -0.1792)
OKLCHoklch(58.18% 0.231 309.3)
XYZxyz(30.3112, 16.8954, 71.4621)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A341DF #7DDF41
analogous
#5441DF #A341DF #DF41CC
triadic
#A341DF #DFA341 #41DFA3
tetradic
#A341DF #DF5441 #7DDF41 #41CCDF
square
#A341DF #DF5441 #7DDF41 #41CCDF
split-complementary
#A341DF #CCDF41 #41DF54
monochromatic
#61188E #8521C2 #A341DF #BC75E8 #D6AAF1

Accessibility & contrast

On white

4.80
#A341DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A341DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A341DF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A341DF#FFFFFF#000000##FFFFFF
##A341DF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#1C74DC
Tritanopia (blue-blind)
#9A658C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a341df;
/* rgb */ color: rgb(163, 65, 223);
/* oklch */ color: oklch(58.2% 0.231 309.3);
Tailwind
colors: {
  custom: {
    50: '#c37eea',
    500: '#a341df',
    950: '#000000',
  },
}
SCSS
$custom: #a341df;
$custom-light: #c37eea;
$custom-dark: #000000;
JSON
{
  "hex": "#a341df",
  "rgb": {
    "r": 163,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 277.215,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58177,
    "c": 0.23148,
    "h": 309.3
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#A341DF
secondary
#B6DE9D
accent
#EE3A7E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A341DF

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

Preview Lab → · Contrast checker → · Palette generator →

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