#A335B2#A335B2

#A335B2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.205 H 322.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A335B2
RGBrgb(163, 53, 178)
HSLhsl(293, 54%, 45%)
HSVhsv(293, 70%, 70%)
CMYKcmyk(8.4%, 70.2%, 0%, 30.2%)
CIE-LABlab(43.58, 61.03, -44.51)
CIE-LCHlch(43.58, 75.53, 323.89°)
OKLaboklab(54.02% 0.1628 -0.1242)
OKLCHoklch(54.02% 0.205 322.7)
XYZxyz(24.4124, 13.5485, 43.4401)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335B2 #44B235
analogous
#6435B2 #A335B2 #B23582
triadic
#A335B2 #B2A335 #35B2A3
tetradic
#A335B2 #B26435 #44B235 #3582B2
square
#A335B2 #B26435 #44B235 #3582B2
split-complementary
#A335B2 #82B235 #35B264
monochromatic
#4D1954 #782783 #A335B2 #BF57CD #D186DB

Accessibility & contrast

On white

5.66
#A335B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A335B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335B2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335B2#FFFFFF#000000##FFFFFF
##A335B21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB6
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#A54B70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a335b2;
/* rgb */ color: rgb(163, 53, 178);
/* oklch */ color: oklch(54.0% 0.205 322.7);
Tailwind
colors: {
  custom: {
    50: '#c276c9',
    500: '#a335b2',
    950: '#000000',
  },
}
SCSS
$custom: #a335b2;
$custom-light: #c276c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a335b2",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 292.8,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.20472,
    "h": 322.7
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#A335B2
secondary
#86C57E
accent
#DD4A5C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A335B2

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

Preview Lab → · Contrast checker → · Palette generator →

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