#A338B3#A338B3

#A338B3 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.202 H 322.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A338B3
RGBrgb(163, 56, 179)
HSLhsl(292, 52%, 46%)
HSVhsv(292, 69%, 70%)
CMYKcmyk(8.9%, 68.7%, 0%, 29.8%)
CIE-LABlab(44.05, 60.05, -44.35)
CIE-LCHlch(44.05, 74.66, 323.55°)
OKLaboklab(54.37% 0.1596 -0.1237)
OKLCHoklch(54.37% 0.202 322.2)
XYZxyz(24.6543, 13.8709, 44.0178)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338B3 #48B338
analogous
#6538B3 #A338B3 #B33885
triadic
#A338B3 #B3A338 #38B3A3
tetradic
#A338B3 #B36538 #48B338 #3885B3
square
#A338B3 #B36538 #48B338 #3885B3
split-complementary
#A338B3 #85B338 #38B365
monochromatic
#4E1B56 #792984 #A338B3 #BD5CCC #D08BDB

Accessibility & contrast

On white

5.56
#A338B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A338B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338B3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338B3#FFFFFF#000000##FFFFFF
##A338B31.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B7
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#A54D71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a338b3;
/* rgb */ color: rgb(163, 56, 179);
/* oklch */ color: oklch(54.4% 0.202 322.2);
Tailwind
colors: {
  custom: {
    50: '#c278ca',
    500: '#a338b3',
    950: '#000000',
  },
}
SCSS
$custom: #a338b3;
$custom-light: #c278ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a338b3",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 292.195,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.20194,
    "h": 322.2
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#A338B3
secondary
#8BC582
accent
#DC4C5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A338B3

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

Preview Lab → · Contrast checker → · Palette generator →

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