#A335D0#A335D0

#A335D0 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.231 H 313.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A335D0
RGBrgb(163, 53, 208)
HSLhsl(283, 62%, 51%)
HSVhsv(283, 75%, 82%)
CMYKcmyk(21.6%, 74.5%, 0%, 18.4%)
CIE-LABlab(45.48, 66.74, -58.94)
CIE-LCHlch(45.48, 89.04, 318.55°)
OKLaboklab(55.98% 0.16 -0.1665)
OKLCHoklch(55.98% 0.231 313.9)
XYZxyz(27.7606, 14.8877, 61.0736)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335D0 #62D035
analogous
#5535D0 #A335D0 #D035AF
triadic
#A335D0 #D0A335 #35D0A3
tetradic
#A335D0 #D05535 #62D035 #35AFD0
square
#A335D0 #D05535 #62D035 #35AFD0
split-complementary
#A335D0 #AFD035 #35D055
monochromatic
#571A70 #7E26A2 #A335D0 #BA67DC #D098E7

Accessibility & contrast

On white

5.28
#A335D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A335D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335D0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335D0#FFFFFF#000000##FFFFFF
##A335D01.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#286ECD
Tritanopia (blue-blind)
#9F5881
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a335d0;
/* rgb */ color: rgb(163, 53, 208);
/* oklch */ color: oklch(56.0% 0.231 313.9);
Tailwind
colors: {
  custom: {
    50: '#c377df',
    500: '#a335d0',
    950: '#000000',
  },
}
SCSS
$custom: #a335d0;
$custom-light: #c377df;
$custom-dark: #000000;
JSON
{
  "hex": "#a335d0",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 282.581,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.23087,
    "h": 313.9
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#A335D0
secondary
#A2D38E
accent
#E54272
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A335D0

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

Preview Lab → · Contrast checker → · Palette generator →

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