#A335B1#A335B1

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

Color values

HEX#A335B1
RGBrgb(163, 53, 177)
HSLhsl(293, 54%, 45%)
HSVhsv(293, 70%, 69%)
CMYKcmyk(7.9%, 70.1%, 0%, 30.6%)
CIE-LABlab(43.52, 60.84, -44.02)
CIE-LCHlch(43.52, 75.10, 324.12°)
OKLaboklab(53.96% 0.1628 -0.1227)
OKLCHoklch(53.96% 0.204 323)
XYZxyz(24.3124, 13.5085, 42.9132)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335B1 #43B135
analogous
#6535B1 #A335B1 #B13581
triadic
#A335B1 #B1A335 #35B1A3
tetradic
#A335B1 #B16535 #43B135 #3581B1
square
#A335B1 #B16535 #43B135 #3581B1
split-complementary
#A335B1 #81B135 #35B165
monochromatic
#4C1953 #782782 #A335B1 #BF57CD #D186DB

Accessibility & contrast

On white

5.67
#A335B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A335B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335B1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335B1#FFFFFF#000000##FFFFFF
##A335B11.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB5
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#A54A6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a335b1;
/* rgb */ color: rgb(163, 53, 177);
/* oklch */ color: oklch(54.0% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#c276c9',
    500: '#a335b1',
    950: '#000000',
  },
}
SCSS
$custom: #a335b1;
$custom-light: #c276c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a335b1",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 293.226,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.20387,
    "h": 323
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#A335B1
secondary
#85C47D
accent
#DD4B5B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A335B1

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

Preview Lab → · Contrast checker → · Palette generator →

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