#A335D7#A335D7

#A335D7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.237 H 312.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A335D7
RGBrgb(163, 53, 215)
HSLhsl(281, 67%, 53%)
HSVhsv(281, 75%, 84%)
CMYKcmyk(24.2%, 75.3%, 0%, 15.7%)
CIE-LABlab(45.96, 68.14, -62.18)
CIE-LCHlch(45.96, 92.25, 317.62°)
OKLaboklab(56.47% 0.1589 -0.176)
OKLCHoklch(56.47% 0.237 312.1)
XYZxyz(28.6408, 15.2398, 65.7096)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335D7 #69D735
analogous
#5235D7 #A335D7 #D735BA
triadic
#A335D7 #D7A335 #35D7A3
tetradic
#A335D7 #D75235 #69D735 #35BAD7
square
#A335D7 #D75235 #69D735 #35BAD7
split-complementary
#A335D7 #BAD735 #35D752
monochromatic
#5A187A #8022AD #A335D7 #BA68E1 #D29BEB

Accessibility & contrast

On white

5.19
#A335D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A335D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335D7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335D7#FFFFFF#000000##FFFFFF
##A335D71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#1A6FD4
Tritanopia (blue-blind)
#9D5B85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a335d7;
/* rgb */ color: rgb(163, 53, 215);
/* oklch */ color: oklch(56.5% 0.237 312.1);
Tailwind
colors: {
  custom: {
    50: '#c378e4',
    500: '#a335d7',
    950: '#000000',
  },
}
SCSS
$custom: #a335d7;
$custom-light: #c378e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a335d7",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 215
  },
  "hsl": {
    "h": 280.741,
    "s": 66.942,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.23707,
    "h": 312.1
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#A335D7
secondary
#A7D791
accent
#EA3E75
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A335D7

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

Preview Lab → · Contrast checker → · Palette generator →

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