#A838BD#A838BD

#A838BD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.213 H 320.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A838BD
RGBrgb(168, 56, 189)
HSLhsl(291, 54%, 48%)
HSVhsv(291, 70%, 74%)
CMYKcmyk(11.1%, 70.4%, 0%, 25.9%)
CIE-LABlab(45.40, 63.00, -48.02)
CIE-LCHlch(45.40, 79.21, 322.69°)
OKLaboklab(55.68% 0.1651 -0.1343)
OKLCHoklch(55.68% 0.213 320.9)
XYZxyz(26.7469, 14.8287, 49.5876)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A838BD #4DBD38
analogous
#6538BD #A838BD #BD3890
triadic
#A838BD #BDA838 #38BDA8
tetradic
#A838BD #BD6538 #4DBD38 #3890BD
square
#A838BD #BD6538 #4DBD38 #3890BD
split-complementary
#A838BD #90BD38 #38BD65
monochromatic
#541C5F #7E2A8E #A838BD #BF62D0 #D291DE

Accessibility & contrast

On white

5.30
#A838BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A838BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A838BD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A838BD#FFFFFF#000000##FFFFFF
##A838BD1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#A95077
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a838bd;
/* rgb */ color: rgb(168, 56, 189);
/* oklch */ color: oklch(55.7% 0.213 320.9);
Tailwind
colors: {
  custom: {
    50: '#c679d1',
    500: '#a838bd',
    950: '#000000',
  },
}
SCSS
$custom: #a838bd;
$custom-light: #c679d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a838bd",
  "rgb": {
    "r": 168,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 290.526,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.21279,
    "h": 320.9
  },
  "luminance": 0.14827
}

Semantic roles & 50–950 ramp

primary
#A838BD
secondary
#92C987
accent
#DE4A61
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A838BD

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

Preview Lab → · Contrast checker → · Palette generator →

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