#A135C2#A135C2

#A135C2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.218 H 317.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A135C2
RGBrgb(161, 53, 194)
HSLhsl(286, 57%, 48%)
HSVhsv(286, 73%, 76%)
CMYKcmyk(17%, 72.7%, 0%, 23.9%)
CIE-LABlab(44.26, 63.61, -52.81)
CIE-LCHlch(44.26, 82.67, 320.30°)
OKLaboklab(54.76% 0.1593 -0.1485)
OKLCHoklch(54.76% 0.218 317)
XYZxyz(25.7072, 14.0194, 52.3804)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A135C2 #56C235
analogous
#5A35C2 #A135C2 #C2359C
triadic
#A135C2 #C2A135 #35C2A1
tetradic
#A135C2 #C25A35 #56C235 #359CC2
square
#A135C2 #C25A35 #56C235 #359CC2
split-complementary
#A135C2 #9CC235 #35C25A
monochromatic
#511B62 #792892 #A135C2 #B960D4 #CE91E1

Accessibility & contrast

On white

5.52
#A135C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A135C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A135C2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A135C2#FFFFFF#000000##FFFFFF
##A135C21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#9F5279
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a135c2;
/* rgb */ color: rgb(161, 53, 194);
/* oklch */ color: oklch(54.8% 0.218 317.0);
Tailwind
colors: {
  custom: {
    50: '#c177d5',
    500: '#a135c2',
    950: '#000000',
  },
}
SCSS
$custom: #a135c2;
$custom-light: #c177d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a135c2",
  "rgb": {
    "r": 161,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 285.957,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.21779,
    "h": 317
  },
  "luminance": 0.14018
}

Semantic roles & 50–950 ramp

primary
#A135C2
secondary
#97CC87
accent
#E0476B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A135C2

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

Preview Lab → · Contrast checker → · Palette generator →

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