#A838C0#A838C0

#A838C0 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.215 H 320.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A838C0
RGBrgb(168, 56, 192)
HSLhsl(289, 55%, 49%)
HSVhsv(289, 71%, 75%)
CMYKcmyk(12.5%, 70.8%, 0%, 24.7%)
CIE-LABlab(45.58, 63.56, -49.47)
CIE-LCHlch(45.58, 80.55, 322.10°)
OKLaboklab(55.87% 0.1649 -0.1386)
OKLCHoklch(55.87% 0.215 320)
XYZxyz(27.0759, 14.9603, 51.3204)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A838C0 #50C038
analogous
#6438C0 #A838C0 #C03894
triadic
#A838C0 #C0A838 #38C0A8
tetradic
#A838C0 #C06438 #50C038 #3894C0
square
#A838C0 #C06438 #50C038 #3894C0
split-complementary
#A838C0 #94C038 #38C064
monochromatic
#551C61 #7F2A91 #A838C0 #BE64D2 #D293DF

Accessibility & contrast

On white

5.26
#A838C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A838C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A838C0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A838C0#FFFFFF#000000##FFFFFF
##A838C01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#A95278
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a838c0;
/* rgb */ color: rgb(168, 56, 192);
/* oklch */ color: oklch(55.9% 0.215 320.0);
Tailwind
colors: {
  custom: {
    50: '#c679d4',
    500: '#a838c0',
    950: '#000000',
  },
}
SCSS
$custom: #a838c0;
$custom-light: #c679d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a838c0",
  "rgb": {
    "r": 168,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 289.412,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.21538,
    "h": 320
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

primary
#A838C0
secondary
#95CB89
accent
#DE4A64
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A838C0

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

Preview Lab → · Contrast checker → · Palette generator →

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