#A538B3#A538B3

#A538B3 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.203 H 323.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A538B3
RGBrgb(165, 56, 179)
HSLhsl(293, 52%, 46%)
HSVhsv(293, 69%, 70%)
CMYKcmyk(7.8%, 68.7%, 0%, 29.8%)
CIE-LABlab(44.35, 60.50, -43.85)
CIE-LCHlch(44.35, 74.72, 324.07°)
OKLaboklab(54.65% 0.1619 -0.1222)
OKLCHoklch(54.65% 0.203 323)
XYZxyz(25.0671, 14.0838, 44.0372)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538B3 #46B338
analogous
#6738B3 #A538B3 #B33883
triadic
#A538B3 #B3A538 #38B3A5
tetradic
#A538B3 #B36738 #46B338 #3883B3
square
#A538B3 #B36738 #46B338 #3883B3
split-complementary
#A538B3 #83B338 #38B367
monochromatic
#4F1B56 #7A2984 #A538B3 #BF5CCC #D28BDB

Accessibility & contrast

On white

5.50
#A538B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A538B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538B3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538B3#FFFFFF#000000##FFFFFF
##A538B31.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B7
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#A74D71
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a538b3;
/* rgb */ color: rgb(165, 56, 179);
/* oklch */ color: oklch(54.7% 0.203 323.0);
Tailwind
colors: {
  custom: {
    50: '#c378ca',
    500: '#a538b3',
    950: '#000000',
  },
}
SCSS
$custom: #a538b3;
$custom-light: #c378ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a538b3",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 293.171,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.20285,
    "h": 323
  },
  "luminance": 0.14082
}

Semantic roles & 50–950 ramp

primary
#A538B3
secondary
#89C582
accent
#DC4C5C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A538B3

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

Preview Lab → · Contrast checker → · Palette generator →

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