#A838B4#A838B4

#A838B4 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.205 H 323.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A838B4
RGBrgb(168, 56, 180)
HSLhsl(294, 53%, 46%)
HSVhsv(294, 69%, 71%)
CMYKcmyk(6.7%, 68.9%, 0%, 29.4%)
CIE-LABlab(44.87, 61.36, -43.58)
CIE-LCHlch(44.87, 75.27, 324.62°)
OKLaboklab(55.14% 0.1653 -0.1214)
OKLCHoklch(55.14% 0.205 323.7)
XYZxyz(25.8001, 14.4500, 44.6013)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A838B4 #44B438
analogous
#6A38B4 #A838B4 #B43882
triadic
#A838B4 #B4A838 #38B4A8
tetradic
#A838B4 #B46A38 #44B438 #3882B4
square
#A838B4 #B46A38 #44B438 #3882B4
split-complementary
#A838B4 #82B438 #38B46A
monochromatic
#511B57 #7C2985 #A838B4 #C25DCD #D38BDB

Accessibility & contrast

On white

5.40
#A838B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A838B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A838B4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A838B4#FFFFFF#000000##FFFFFF
##A838B41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1562B8
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#AB4D72
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a838b4;
/* rgb */ color: rgb(168, 56, 180);
/* oklch */ color: oklch(55.1% 0.205 323.7);
Tailwind
colors: {
  custom: {
    50: '#c578cb',
    500: '#a838b4',
    950: '#000000',
  },
}
SCSS
$custom: #a838b4;
$custom-light: #c578cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a838b4",
  "rgb": {
    "r": 168,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 294.194,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55135,
    "c": 0.2051,
    "h": 323.7
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#A838B4
secondary
#89C582
accent
#DC4C5A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A838B4

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

Preview Lab → · Contrast checker → · Palette generator →

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