#A338C1#A338C1

#A338C1 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.214 H 317.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A338C1
RGBrgb(163, 56, 193)
HSLhsl(287, 55%, 49%)
HSVhsv(287, 71%, 76%)
CMYKcmyk(15.5%, 71%, 0%, 24.3%)
CIE-LABlab(44.89, 62.69, -51.20)
CIE-LCHlch(44.89, 80.94, 320.76°)
OKLaboklab(55.25% 0.1589 -0.1438)
OKLCHoklch(55.25% 0.214 317.9)
XYZxyz(26.1427, 14.4663, 51.8569)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338C1 #56C138
analogous
#5F38C1 #A338C1 #C1389B
triadic
#A338C1 #C1A338 #38C1A3
tetradic
#A338C1 #C15F38 #56C138 #389BC1
square
#A338C1 #C15F38 #56C138 #389BC1
split-complementary
#A338C1 #9BC138 #38C15F
monochromatic
#531C62 #7B2A92 #A338C1 #BA64D2 #CF94E0

Accessibility & contrast

On white

5.39
#A338C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A338C1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338C1#FFFFFF#000000##FFFFFF
##A338C11.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#3D6EBE
Tritanopia (blue-blind)
#A25379
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a338c1;
/* rgb */ color: rgb(163, 56, 193);
/* oklch */ color: oklch(55.3% 0.214 317.9);
Tailwind
colors: {
  custom: {
    50: '#c278d4',
    500: '#a338c1',
    950: '#000000',
  },
}
SCSS
$custom: #a338c1;
$custom-light: #c278d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a338c1",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 286.861,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.21424,
    "h": 317.9
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#A338C1
secondary
#98CB8A
accent
#DE496A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A338C1

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

Preview Lab → · Contrast checker → · Palette generator →

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