#A335BB#A335BB

#A335BB is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.212 H 319.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A335BB
RGBrgb(163, 53, 187)
HSLhsl(289, 56%, 47%)
HSVhsv(289, 72%, 73%)
CMYKcmyk(12.8%, 71.7%, 0%, 26.7%)
CIE-LABlab(44.12, 62.69, -48.93)
CIE-LCHlch(44.12, 79.53, 322.02°)
OKLaboklab(54.58% 0.1623 -0.1371)
OKLCHoklch(54.58% 0.212 319.8)
XYZxyz(25.3459, 13.9218, 48.3562)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335BB #4DBB35
analogous
#6035BB #A335BB #BB3590
triadic
#A335BB #BBA335 #35BBA3
tetradic
#A335BB #BB6035 #4DBB35 #3590BB
square
#A335BB #BB6035 #4DBB35 #3590BB
split-complementary
#A335BB #90BB35 #35BB60
monochromatic
#501A5C #79278B #A335BB #BC5CD1 #D08CDE

Accessibility & contrast

On white

5.55
#A335BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A335BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335BB#FFFFFF#000000##FFFFFF
##A335BB1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#A34F75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a335bb;
/* rgb */ color: rgb(163, 53, 187);
/* oklch */ color: oklch(54.6% 0.212 319.8);
Tailwind
colors: {
  custom: {
    50: '#c277d0',
    500: '#a335bb',
    950: '#000000',
  },
}
SCSS
$custom: #a335bb;
$custom-light: #c277d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a335bb",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 289.254,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.21246,
    "h": 319.8
  },
  "luminance": 0.13921
}

Semantic roles & 50–950 ramp

primary
#A335BB
secondary
#90C983
accent
#DF4964
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A335BB

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

Preview Lab → · Contrast checker → · Palette generator →

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