#A338BE#A338BE

#A338BE is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.212 H 318.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A338BE
RGBrgb(163, 56, 190)
HSLhsl(288, 54%, 48%)
HSVhsv(288, 71%, 75%)
CMYKcmyk(14.2%, 70.5%, 0%, 25.5%)
CIE-LABlab(44.71, 62.12, -49.75)
CIE-LCHlch(44.71, 79.58, 321.31°)
OKLaboklab(55.06% 0.1591 -0.1395)
OKLCHoklch(55.06% 0.212 318.7)
XYZxyz(25.8114, 14.3338, 50.1123)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338BE #53BE38
analogous
#6038BE #A338BE #BE3896
triadic
#A338BE #BEA338 #38BEA3
tetradic
#A338BE #BE6038 #53BE38 #3896BE
square
#A338BE #BE6038 #53BE38 #3896BE
split-complementary
#A338BE #96BE38 #38BE60
monochromatic
#521C5F #7A2A8F #A338BE #BB62D1 #CF92DF

Accessibility & contrast

On white

5.43
#A338BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A338BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338BE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338BE#FFFFFF#000000##FFFFFF
##A338BE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#A35277
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a338be;
/* rgb */ color: rgb(163, 56, 190);
/* oklch */ color: oklch(55.1% 0.212 318.7);
Tailwind
colors: {
  custom: {
    50: '#c278d2',
    500: '#a338be',
    950: '#000000',
  },
}
SCSS
$custom: #a338be;
$custom-light: #c278d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a338be",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 287.91,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55057,
    "c": 0.21159,
    "h": 318.7
  },
  "luminance": 0.14333
}

Semantic roles & 50–950 ramp

primary
#A338BE
secondary
#95CA88
accent
#DE4A68
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A338BE

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

Preview Lab → · Contrast checker → · Palette generator →

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