#A339D9#A339D9

#A339D9 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 57.0% C 0.235 H 311.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A339D9
RGBrgb(163, 57, 217)
HSLhsl(280, 68%, 54%)
HSVhsv(280, 74%, 85%)
CMYKcmyk(24.9%, 73.7%, 0%, 14.9%)
CIE-LABlab(46.61, 67.08, -62.28)
CIE-LCHlch(46.61, 91.54, 317.13°)
OKLaboklab(56.97% 0.155 -0.1763)
OKLCHoklch(56.97% 0.235 311.3)
XYZxyz(29.0894, 15.7233, 67.1347)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A339D9 #6FD939
analogous
#5339D9 #A339D9 #D939BF
triadic
#A339D9 #D9A339 #39D9A3
tetradic
#A339D9 #D95339 #6FD939 #39BFD9
square
#A339D9 #D95339 #6FD939 #39BFD9
split-complementary
#A339D9 #BFD939 #39D953
monochromatic
#5D187F #8222B3 #A339D9 #BB6CE3 #D3A0ED

Accessibility & contrast

On white

5.07
#A339D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A339D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A339D9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A339D9#FFFFFF#000000##FFFFFF
##A339D91.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#1C70D6
Tritanopia (blue-blind)
#9C5E87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a339d9;
/* rgb */ color: rgb(163, 57, 217);
/* oklch */ color: oklch(57.0% 0.235 311.3);
Tailwind
colors: {
  custom: {
    50: '#c37ae6',
    500: '#a339d9',
    950: '#000000',
  },
}
SCSS
$custom: #a339d9;
$custom-light: #c37ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a339d9",
  "rgb": {
    "r": 163,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 279.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.23473,
    "h": 311.3
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#A339D9
secondary
#ACD995
accent
#EB3D78
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A339D9

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

Preview Lab → · Contrast checker → · Palette generator →

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