#A338B0#A338B0

#A338B0 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.2% C 0.199 H 323.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A338B0
RGBrgb(163, 56, 176)
HSLhsl(294, 52%, 45%)
HSVhsv(294, 68%, 69%)
CMYKcmyk(7.4%, 68.2%, 0%, 31%)
CIE-LABlab(43.87, 59.50, -42.86)
CIE-LCHlch(43.87, 73.33, 324.23°)
OKLaboklab(54.19% 0.1596 -0.1194)
OKLCHoklch(54.19% 0.199 323.2)
XYZxyz(24.3542, 13.7509, 42.4373)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338B0 #45B038
analogous
#6738B0 #A338B0 #B03881
triadic
#A338B0 #B0A338 #38B0A3
tetradic
#A338B0 #B06738 #45B038 #3881B0
square
#A338B0 #B06738 #45B038 #3881B0
split-complementary
#A338B0 #81B038 #38B067
monochromatic
#4D1A53 #782982 #A338B0 #BF5BCB #D189D9

Accessibility & contrast

On white

5.60
#A338B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A338B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338B0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338B0#FFFFFF#000000##FFFFFF
##A338B01.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1760B3
Deuteranopia (green-blind)
#4B6CAD
Tritanopia (blue-blind)
#A64C70
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a338b0;
/* rgb */ color: rgb(163, 56, 176);
/* oklch */ color: oklch(54.2% 0.199 323.2);
Tailwind
colors: {
  custom: {
    50: '#c278c8',
    500: '#a338b0',
    950: '#000000',
  },
}
SCSS
$custom: #a338b0;
$custom-light: #c278c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a338b0",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 293.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54192,
    "c": 0.19934,
    "h": 323.2
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#A338B0
secondary
#87C480
accent
#DB4D5C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A338B0

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

Preview Lab → · Contrast checker → · Palette generator →

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