#A835CA#A835CA

#A835CA is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.227 H 317.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A835CA
RGBrgb(168, 53, 202)
HSLhsl(286, 58%, 50%)
HSVhsv(286, 74%, 79%)
CMYKcmyk(16.8%, 73.8%, 0%, 20.8%)
CIE-LABlab(45.82, 66.54, -54.89)
CIE-LCHlch(45.82, 86.26, 320.48°)
OKLaboklab(56.24% 0.1669 -0.1544)
OKLCHoklch(56.24% 0.227 317.2)
XYZxyz(28.0807, 15.1365, 57.3082)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A835CA #57CA35
analogous
#5E35CA #A835CA #CA35A1
triadic
#A835CA #CAA835 #35CAA8
tetradic
#A835CA #CA5E35 #57CA35 #35A1CA
square
#A835CA #CA5E35 #57CA35 #35A1CA
split-complementary
#A835CA #A1CA35 #35CA5E
monochromatic
#571C69 #80289A #A835CA #BD65D7 #D296E3

Accessibility & contrast

On white

5.21
#A835CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A835CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A835CA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A835CA#FFFFFF#000000##FFFFFF
##A835CA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#A6547D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a835ca;
/* rgb */ color: rgb(168, 53, 202);
/* oklch */ color: oklch(56.2% 0.227 317.2);
Tailwind
colors: {
  custom: {
    50: '#c678db',
    500: '#a835ca',
    950: '#000000',
  },
}
SCSS
$custom: #a835ca;
$custom-light: #c678db;
$custom-dark: #000000;
JSON
{
  "hex": "#a835ca",
  "rgb": {
    "r": 168,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 286.309,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.56242,
    "c": 0.22736,
    "h": 317.2
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#A835CA
secondary
#9BCF8C
accent
#E2466A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A835CA

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

Preview Lab → · Contrast checker → · Palette generator →

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