#A335CC#A335CC

#A335CC is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.227 H 314.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A335CC
RGBrgb(163, 53, 204)
HSLhsl(284, 60%, 50%)
HSVhsv(284, 74%, 80%)
CMYKcmyk(20.1%, 74%, 0%, 20%)
CIE-LABlab(45.21, 65.95, -57.07)
CIE-LCHlch(45.21, 87.21, 319.13°)
OKLaboklab(55.7% 0.1605 -0.161)
OKLCHoklch(55.7% 0.227 314.9)
XYZxyz(27.2747, 14.6934, 58.5144)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335CC #5ECC35
analogous
#5835CC #A335CC #CC35A9
triadic
#A335CC #CCA335 #35CCA3
tetradic
#A335CC #CC5835 #5ECC35 #35A9CC
square
#A335CC #CC5835 #5ECC35 #35A9CC
split-complementary
#A335CC #A9CC35 #35CC58
monochromatic
#561B6B #7D279C #A335CC #B966D8 #D097E5

Accessibility & contrast

On white

5.33
#A335CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A335CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335CC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335CC#FFFFFF#000000##FFFFFF
##A335CC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#A0567E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a335cc;
/* rgb */ color: rgb(163, 53, 204);
/* oklch */ color: oklch(55.7% 0.227 314.9);
Tailwind
colors: {
  custom: {
    50: '#c377dc',
    500: '#a335cc',
    950: '#000000',
  },
}
SCSS
$custom: #a335cc;
$custom-light: #c377dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a335cc",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 283.709,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.22733,
    "h": 314.9
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

primary
#A335CC
secondary
#9FD08D
accent
#E34570
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A335CC

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

Preview Lab → · Contrast checker → · Palette generator →

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