#A335C7#A335C7

#A335C7 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.4% C 0.223 H 316.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A335C7
RGBrgb(163, 53, 199)
HSLhsl(285, 58%, 49%)
HSVhsv(285, 73%, 78%)
CMYKcmyk(18.1%, 73.4%, 0%, 22%)
CIE-LABlab(44.88, 64.98, -54.70)
CIE-LCHlch(44.88, 84.94, 319.91°)
OKLaboklab(55.36% 0.1612 -0.154)
OKLCHoklch(55.36% 0.223 316.3)
XYZxyz(26.6846, 14.4573, 55.4067)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335C7 #59C735
analogous
#5A35C7 #A335C7 #C735A2
triadic
#A335C7 #C7A335 #35C7A3
tetradic
#A335C7 #C75A35 #59C735 #35A2C7
square
#A335C7 #C75A35 #59C735 #35A2C7
split-complementary
#A335C7 #A2C735 #35C75A
monochromatic
#541B66 #7B2897 #A335C7 #B964D6 #CF94E2

Accessibility & contrast

On white

5.40
#A335C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A335C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335C7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335C7#FFFFFF#000000##FFFFFF
##A335C71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#356DC4
Tritanopia (blue-blind)
#A1547C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a335c7;
/* rgb */ color: rgb(163, 53, 199);
/* oklch */ color: oklch(55.4% 0.223 316.3);
Tailwind
colors: {
  custom: {
    50: '#c277d9',
    500: '#a335c7',
    950: '#000000',
  },
}
SCSS
$custom: #a335c7;
$custom-light: #c277d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a335c7",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 285.205,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55364,
    "c": 0.22292,
    "h": 316.3
  },
  "luminance": 0.14456
}

Semantic roles & 50–950 ramp

primary
#A335C7
secondary
#9BCE8A
accent
#E1476D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A335C7

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

Preview Lab → · Contrast checker → · Palette generator →

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