#A838B3#A838B3

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

Color values

HEX#A838B3
RGBrgb(168, 56, 179)
HSLhsl(295, 52%, 46%)
HSVhsv(295, 69%, 70%)
CMYKcmyk(6.1%, 68.7%, 0%, 29.8%)
CIE-LABlab(44.81, 61.18, -43.09)
CIE-LCHlch(44.81, 74.83, 324.85°)
OKLaboklab(55.08% 0.1654 -0.1199)
OKLCHoklch(55.08% 0.204 324)
XYZxyz(25.6986, 14.4094, 44.0668)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A838B3 #43B338
analogous
#6A38B3 #A838B3 #B33880
triadic
#A838B3 #B3A838 #38B3A8
tetradic
#A838B3 #B36A38 #43B338 #3880B3
square
#A838B3 #B36A38 #43B338 #3880B3
split-complementary
#A838B3 #80B338 #38B36A
monochromatic
#501B56 #7C2984 #A838B3 #C25CCC #D38BDB

Accessibility & contrast

On white

5.41
#A838B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A838B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A838B3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A838B3#FFFFFF#000000##FFFFFF
##A838B31.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B7
Deuteranopia (green-blind)
#4D6FB0
Tritanopia (blue-blind)
#AB4C71
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a838b3;
/* rgb */ color: rgb(168, 56, 179);
/* oklch */ color: oklch(55.1% 0.204 324.0);
Tailwind
colors: {
  custom: {
    50: '#c578ca',
    500: '#a838b3',
    950: '#000000',
  },
}
SCSS
$custom: #a838b3;
$custom-light: #c578ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a838b3",
  "rgb": {
    "r": 168,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 294.634,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55076,
    "c": 0.20426,
    "h": 324
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#A838B3
secondary
#88C582
accent
#DC4C59
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A838B3

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

Preview Lab → · Contrast checker → · Palette generator →

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