#A335D2#A335D2

#A335D2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.233 H 313.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A335D2
RGBrgb(163, 53, 210)
HSLhsl(282, 64%, 52%)
HSVhsv(282, 75%, 82%)
CMYKcmyk(22.4%, 74.8%, 0%, 17.6%)
CIE-LABlab(45.62, 67.14, -59.87)
CIE-LCHlch(45.62, 89.96, 318.27°)
OKLaboklab(56.12% 0.1597 -0.1692)
OKLCHoklch(56.12% 0.233 313.3)
XYZxyz(28.0082, 14.9868, 62.3776)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335D2 #64D235
analogous
#5535D2 #A335D2 #D235B3
triadic
#A335D2 #D2A335 #35D2A3
tetradic
#A335D2 #D25535 #64D235 #35B3D2
square
#A335D2 #D25535 #64D235 #35B3D2
split-complementary
#A335D2 #B3D235 #35D255
monochromatic
#581A73 #7F25A5 #A335D2 #BA67DD #D199E8

Accessibility & contrast

On white

5.25
#A335D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A335D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335D2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335D2#FFFFFF#000000##FFFFFF
##A335D21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#256ECF
Tritanopia (blue-blind)
#9E5982
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a335d2;
/* rgb */ color: rgb(163, 53, 210);
/* oklch */ color: oklch(56.1% 0.233 313.3);
Tailwind
colors: {
  custom: {
    50: '#c377e1',
    500: '#a335d2',
    950: '#000000',
  },
}
SCSS
$custom: #a335d2;
$custom-light: #c377e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a335d2",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 282.038,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56116,
    "c": 0.23263,
    "h": 313.3
  },
  "luminance": 0.14986
}

Semantic roles & 50–950 ramp

primary
#A335D2
secondary
#A4D48F
accent
#E74173
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A335D2

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

Preview Lab → · Contrast checker → · Palette generator →

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