#A835D2#A835D2

#A835D2 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.234 H 315.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A835D2
RGBrgb(168, 53, 210)
HSLhsl(284, 64%, 52%)
HSVhsv(284, 75%, 82%)
CMYKcmyk(20%, 74.8%, 0%, 17.6%)
CIE-LABlab(46.35, 68.08, -58.66)
CIE-LCHlch(46.35, 89.86, 319.25°)
OKLaboklab(56.78% 0.1659 -0.1655)
OKLCHoklch(56.78% 0.234 315.1)
XYZxyz(29.0525, 15.5253, 62.4266)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A835D2 #5FD235
analogous
#5A35D2 #A835D2 #D235AE
triadic
#A835D2 #D2A835 #35D2A8
tetradic
#A835D2 #D25A35 #5FD235 #35AED2
square
#A835D2 #D25A35 #5FD235 #35AED2
split-complementary
#A835D2 #AED235 #35D25A
monochromatic
#5B1A73 #8325A5 #A835D2 #BE67DD #D399E8

Accessibility & contrast

On white

5.12
#A835D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A835D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A835D2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A835D2#FFFFFF#000000##FFFFFF
##A835D21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#2E71CF
Tritanopia (blue-blind)
#A45882
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a835d2;
/* rgb */ color: rgb(168, 53, 210);
/* oklch */ color: oklch(56.8% 0.234 315.1);
Tailwind
colors: {
  custom: {
    50: '#c678e1',
    500: '#a835d2',
    950: '#000000',
  },
}
SCSS
$custom: #a835d2;
$custom-light: #c678e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a835d2",
  "rgb": {
    "r": 168,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 283.949,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5678,
    "c": 0.23429,
    "h": 315.1
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#A835D2
secondary
#A1D48F
accent
#E7416D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A835D2

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

Preview Lab → · Contrast checker → · Palette generator →

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