#A838D0#A838D0

#A838D0 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.229 H 315.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A838D0
RGBrgb(168, 56, 208)
HSLhsl(284, 62%, 52%)
HSVhsv(284, 73%, 82%)
CMYKcmyk(19.2%, 73.1%, 0%, 18.4%)
CIE-LABlab(46.59, 66.62, -57.11)
CIE-LCHlch(46.59, 87.75, 319.39°)
OKLaboklab(56.91% 0.1634 -0.161)
OKLCHoklch(56.91% 0.229 315.4)
XYZxyz(28.9460, 15.7083, 61.1695)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A838D0 #60D038
analogous
#5C38D0 #A838D0 #D038AC
triadic
#A838D0 #D0A838 #38D0A8
tetradic
#A838D0 #D05C38 #60D038 #38ACD0
square
#A838D0 #D05C38 #60D038 #38ACD0
split-complementary
#A838D0 #ACD038 #38D05C
monochromatic
#5C1B73 #8327A4 #A838D0 #BE6ADC #D39BE7

Accessibility & contrast

On white

5.07
#A838D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A838D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A838D0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A838D0#FFFFFF#000000##FFFFFF
##A838D01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#3471CD
Tritanopia (blue-blind)
#A55981
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a838d0;
/* rgb */ color: rgb(168, 56, 208);
/* oklch */ color: oklch(56.9% 0.229 315.4);
Tailwind
colors: {
  custom: {
    50: '#c679df',
    500: '#a838d0',
    950: '#000000',
  },
}
SCSS
$custom: #a838d0;
$custom-light: #c679df;
$custom-dark: #000000;
JSON
{
  "hex": "#a838d0",
  "rgb": {
    "r": 168,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 284.211,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.22937,
    "h": 315.4
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#A838D0
secondary
#A2D391
accent
#E5436E
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A838D0

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

Preview Lab → · Contrast checker → · Palette generator →

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