#A338BC#A338BC

#A338BC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.210 H 319.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A338BC
RGBrgb(163, 56, 188)
HSLhsl(289, 54%, 48%)
HSVhsv(289, 70%, 74%)
CMYKcmyk(13.3%, 70.2%, 0%, 26.3%)
CIE-LABlab(44.59, 61.74, -48.78)
CIE-LCHlch(44.59, 78.68, 321.69°)
OKLaboklab(54.93% 0.1592 -0.1367)
OKLCHoklch(54.93% 0.21 319.4)
XYZxyz(25.5944, 14.2469, 48.9690)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338BC #51BC38
analogous
#6138BC #A338BC #BC3893
triadic
#A338BC #BCA338 #38BCA3
tetradic
#A338BC #BC6138 #51BC38 #3893BC
square
#A338BC #BC6138 #51BC38 #3893BC
split-complementary
#A338BC #93BC38 #38BC61
monochromatic
#511C5E #7A2A8D #A338BC #BB61D0 #CF90DE

Accessibility & contrast

On white

5.46
#A338BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A338BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338BC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338BC#FFFFFF#000000##FFFFFF
##A338BC1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#A35176
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a338bc;
/* rgb */ color: rgb(163, 56, 188);
/* oklch */ color: oklch(54.9% 0.210 319.4);
Tailwind
colors: {
  custom: {
    50: '#c278d1',
    500: '#a338bc',
    950: '#000000',
  },
}
SCSS
$custom: #a338bc;
$custom-light: #c278d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a338bc",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 288.636,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.20982,
    "h": 319.4
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#A338BC
secondary
#93C987
accent
#DD4A66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A338BC

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

Preview Lab → · Contrast checker → · Palette generator →

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