#A35EC2#A35EC2

#A35EC2 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.1% C 0.161 H 314.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A35EC2
RGBrgb(163, 94, 194)
HSLhsl(281, 45%, 56%)
HSVhsv(281, 52%, 76%)
CMYKcmyk(16%, 51.5%, 0%, 23.9%)
CIE-LABlab(51.48, 45.13, -41.28)
CIE-LCHlch(51.48, 61.16, 317.55°)
OKLaboklab(60.06% 0.1126 -0.1151)
OKLCHoklch(60.06% 0.161 314.4)
XYZxyz(28.8430, 19.6878, 53.3092)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A35EC2 #7DC25E
analogous
#715EC2 #A35EC2 #C25EAF
triadic
#A35EC2 #C2A35E #5EC2A3
tetradic
#A35EC2 #C2715E #7DC25E #5EAFC2
square
#A35EC2 #C2715E #7DC25E #5EAFC2
split-complementary
#A35EC2 #AFC25E #5EC271
monochromatic
#612E78 #853EA4 #A35EC2 #BC8AD3 #D6B7E4

Accessibility & contrast

On white

4.25
#A35EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A35EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A35EC2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A35EC2#FFFFFF#000000##000000
##A35EC21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#5C7DBF
Tritanopia (blue-blind)
#A16E87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a35ec2;
/* rgb */ color: rgb(163, 94, 194);
/* oklch */ color: oklch(60.1% 0.161 314.4);
Tailwind
colors: {
  custom: {
    50: '#c08ed5',
    500: '#a35ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a35ec2;
$custom-light: #c08ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#a35ec2",
  "rgb": {
    "r": 163,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 281.4,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.161,
    "h": 314.4
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#A35EC2
secondary
#B6D2A9
accent
#D5537B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A35EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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