#A338B8#A338B8

#A338B8 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.206 H 320.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A338B8
RGBrgb(163, 56, 184)
HSLhsl(290, 53%, 47%)
HSVhsv(290, 70%, 72%)
CMYKcmyk(11.4%, 69.6%, 0%, 27.8%)
CIE-LABlab(44.34, 60.98, -46.82)
CIE-LCHlch(44.34, 76.88, 322.48°)
OKLaboklab(54.68% 0.1594 -0.131)
OKLCHoklch(54.68% 0.206 320.6)
XYZxyz(25.1691, 14.0769, 46.7295)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338B8 #4DB838
analogous
#6338B8 #A338B8 #B8388D
triadic
#A338B8 #B8A338 #38B8A3
tetradic
#A338B8 #B86338 #4DB838 #388DB8
square
#A338B8 #B86338 #4DB838 #388DB8
split-complementary
#A338B8 #8DB838 #38B863
monochromatic
#501B5A #792A89 #A338B8 #BC5FCE #D08EDD

Accessibility & contrast

On white

5.50
#A338B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A338B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338B8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338B8#FFFFFF#000000##FFFFFF
##A338B81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#A44F74
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a338b8;
/* rgb */ color: rgb(163, 56, 184);
/* oklch */ color: oklch(54.7% 0.206 320.6);
Tailwind
colors: {
  custom: {
    50: '#c278ce',
    500: '#a338b8',
    950: '#000000',
  },
}
SCSS
$custom: #a338b8;
$custom-light: #c278ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a338b8",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 290.156,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.20631,
    "h": 320.6
  },
  "luminance": 0.14076
}

Semantic roles & 50–950 ramp

primary
#A338B8
secondary
#90C785
accent
#DD4B63
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A338B8

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

Preview Lab → · Contrast checker → · Palette generator →

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