#A838C3#A838C3

#A838C3 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.218 H 319.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A838C3
RGBrgb(168, 56, 195)
HSLhsl(288, 55%, 49%)
HSVhsv(288, 71%, 76%)
CMYKcmyk(13.8%, 71.3%, 0%, 23.5%)
CIE-LABlab(45.76, 64.12, -50.93)
CIE-LCHlch(45.76, 81.89, 321.54°)
OKLaboklab(56.06% 0.1647 -0.1428)
OKLCHoklch(56.06% 0.218 319.1)
XYZxyz(27.4117, 15.0946, 53.0888)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A838C3 #53C338
analogous
#6338C3 #A838C3 #C33899
triadic
#A838C3 #C3A838 #38C3A8
tetradic
#A838C3 #C36338 #53C338 #3899C3
square
#A838C3 #C36338 #53C338 #3899C3
split-complementary
#A838C3 #99C338 #38C363
monochromatic
#561D64 #7F2A93 #A838C3 #BE65D3 #D295E1

Accessibility & contrast

On white

5.23
#A838C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A838C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A838C3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A838C3#FFFFFF#000000##FFFFFF
##A838C31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#4170C0
Tritanopia (blue-blind)
#A8537A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a838c3;
/* rgb */ color: rgb(168, 56, 195);
/* oklch */ color: oklch(56.1% 0.218 319.1);
Tailwind
colors: {
  custom: {
    50: '#c679d6',
    500: '#a838c3',
    950: '#000000',
  },
}
SCSS
$custom: #a838c3;
$custom-light: #c679d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a838c3",
  "rgb": {
    "r": 168,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 288.345,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.21799,
    "h": 319.1
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#A838C3
secondary
#98CC8B
accent
#DF4966
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A838C3

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

Preview Lab → · Contrast checker → · Palette generator →

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