#A838B8#A838B8

#A838B8 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.209 H 322.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A838B8
RGBrgb(168, 56, 184)
HSLhsl(293, 53%, 47%)
HSVhsv(293, 70%, 72%)
CMYKcmyk(8.7%, 69.6%, 0%, 27.8%)
CIE-LABlab(45.10, 62.09, -45.56)
CIE-LCHlch(45.10, 77.01, 323.73°)
OKLaboklab(55.38% 0.1653 -0.1271)
OKLCHoklch(55.38% 0.209 322.4)
XYZxyz(26.2135, 14.6153, 46.7784)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A838B8 #48B838
analogous
#6838B8 #A838B8 #B83888
triadic
#A838B8 #B8A838 #38B8A8
tetradic
#A838B8 #B86838 #48B838 #3888B8
square
#A838B8 #B86838 #48B838 #3888B8
split-complementary
#A838B8 #88B838 #38B868
monochromatic
#521B5A #7D2A89 #A838B8 #C05FCE #D38EDD

Accessibility & contrast

On white

5.35
#A838B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A838B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A838B8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A838B8#FFFFFF#000000##FFFFFF
##A838B81.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A63BC
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#AA4E74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a838b8;
/* rgb */ color: rgb(168, 56, 184);
/* oklch */ color: oklch(55.4% 0.209 322.4);
Tailwind
colors: {
  custom: {
    50: '#c578ce',
    500: '#a838b8',
    950: '#000000',
  },
}
SCSS
$custom: #a838b8;
$custom-light: #c578ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a838b8",
  "rgb": {
    "r": 168,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 292.5,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55376,
    "c": 0.20851,
    "h": 322.4
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#A838B8
secondary
#8DC785
accent
#DD4B5D
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A838B8

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

Preview Lab → · Contrast checker → · Palette generator →

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