#A335B9#A335B9

#A335B9 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.211 H 320.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A335B9
RGBrgb(163, 53, 185)
HSLhsl(290, 55%, 47%)
HSVhsv(290, 71%, 73%)
CMYKcmyk(11.9%, 71.4%, 0%, 27.5%)
CIE-LABlab(44.00, 62.32, -47.96)
CIE-LCHlch(44.00, 78.63, 322.42°)
OKLaboklab(54.45% 0.1624 -0.1343)
OKLCHoklch(54.45% 0.211 320.4)
XYZxyz(25.1333, 13.8368, 47.2364)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335B9 #4BB935
analogous
#6135B9 #A335B9 #B9358D
triadic
#A335B9 #B9A335 #35B9A3
tetradic
#A335B9 #B96135 #4BB935 #358DB9
square
#A335B9 #B96135 #4BB935 #358DB9
split-complementary
#A335B9 #8DB935 #35B961
monochromatic
#4F1A5A #792789 #A335B9 #BD5BD0 #D08BDE

Accessibility & contrast

On white

5.57
#A335B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A335B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335B9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335B9#FFFFFF#000000##FFFFFF
##A335B91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#426CB6
Tritanopia (blue-blind)
#A44E74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a335b9;
/* rgb */ color: rgb(163, 53, 185);
/* oklch */ color: oklch(54.5% 0.211 320.4);
Tailwind
colors: {
  custom: {
    50: '#c276cf',
    500: '#a335b9',
    950: '#000000',
  },
}
SCSS
$custom: #a335b9;
$custom-light: #c276cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a335b9",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 290,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.21073,
    "h": 320.4
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#A335B9
secondary
#8EC882
accent
#DF4962
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A335B9

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

Preview Lab → · Contrast checker → · Palette generator →

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