#A135D2#A135D2

#A135D2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.232 H 312.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A135D2
RGBrgb(161, 53, 210)
HSLhsl(281, 64%, 52%)
HSVhsv(281, 75%, 82%)
CMYKcmyk(23.3%, 74.8%, 0%, 17.6%)
CIE-LABlab(45.33, 66.77, -60.35)
CIE-LCHlch(45.33, 90.00, 317.89°)
OKLaboklab(55.85% 0.1572 -0.1707)
OKLCHoklch(55.85% 0.232 312.6)
XYZxyz(27.6018, 14.7772, 62.3586)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A135D2 #66D235
analogous
#5335D2 #A135D2 #D235B5
triadic
#A135D2 #D2A135 #35D2A1
tetradic
#A135D2 #D25335 #66D235 #35B5D2
square
#A135D2 #D25335 #66D235 #35B5D2
split-complementary
#A135D2 #B5D235 #35D253
monochromatic
#571A73 #7D25A5 #A135D2 #B867DD #D099E8

Accessibility & contrast

On white

5.31
#A135D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A135D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A135D2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A135D2#FFFFFF#000000##FFFFFF
##A135D21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#206DCF
Tritanopia (blue-blind)
#9B5982
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a135d2;
/* rgb */ color: rgb(161, 53, 210);
/* oklch */ color: oklch(55.9% 0.232 312.6);
Tailwind
colors: {
  custom: {
    50: '#c277e1',
    500: '#a135d2',
    950: '#000000',
  },
}
SCSS
$custom: #a135d2;
$custom-light: #c277e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a135d2",
  "rgb": {
    "r": 161,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 281.274,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.232,
    "h": 312.6
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#A135D2
secondary
#A4D48F
accent
#E74175
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A135D2

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

Preview Lab → · Contrast checker → · Palette generator →

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