#A335D4#A335D4

#A335D4 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.234 H 312.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A335D4
RGBrgb(163, 53, 212)
HSLhsl(282, 65%, 52%)
HSVhsv(282, 75%, 83%)
CMYKcmyk(23.1%, 75%, 0%, 16.9%)
CIE-LABlab(45.75, 67.54, -60.80)
CIE-LCHlch(45.75, 90.87, 318.01°)
OKLaboklab(56.26% 0.1594 -0.1719)
OKLCHoklch(56.26% 0.234 312.8)
XYZxyz(28.2589, 15.0871, 63.6981)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335D4 #66D435
analogous
#5335D4 #A335D4 #D435B6
triadic
#A335D4 #D4A335 #35D4A3
tetradic
#A335D4 #D45335 #66D435 #35B6D4
square
#A335D4 #D45335 #66D435 #35B6D4
split-complementary
#A335D4 #B6D435 #35D453
monochromatic
#591976 #7F24A8 #A335D4 #BA67DF #D19AE9

Accessibility & contrast

On white

5.23
#A335D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A335D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335D4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335D4#FFFFFF#000000##FFFFFF
##A335D41.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#216FD1
Tritanopia (blue-blind)
#9D5A83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a335d4;
/* rgb */ color: rgb(163, 53, 212);
/* oklch */ color: oklch(56.3% 0.234 312.8);
Tailwind
colors: {
  custom: {
    50: '#c378e2',
    500: '#a335d4',
    950: '#000000',
  },
}
SCSS
$custom: #a335d4;
$custom-light: #c378e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a335d4",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 212
  },
  "hsl": {
    "h": 281.509,
    "s": 64.898,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.23441,
    "h": 312.8
  },
  "luminance": 0.15086
}

Semantic roles & 50–950 ramp

primary
#A335D4
secondary
#A5D590
accent
#E84074
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A335D4

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

Preview Lab → · Contrast checker → · Palette generator →

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