#A338BF#A338BF

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

Color values

HEX#A338BF
RGBrgb(163, 56, 191)
HSLhsl(288, 55%, 48%)
HSVhsv(288, 71%, 75%)
CMYKcmyk(14.7%, 70.7%, 0%, 25.1%)
CIE-LABlab(44.77, 62.31, -50.23)
CIE-LCHlch(44.77, 80.03, 321.13°)
OKLaboklab(55.12% 0.159 -0.1409)
OKLCHoklch(55.12% 0.212 318.4)
XYZxyz(25.9211, 14.3776, 50.6899)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338BF #54BF38
analogous
#6038BF #A338BF #BF3897
triadic
#A338BF #BFA338 #38BFA3
tetradic
#A338BF #BF6038 #54BF38 #3897BF
square
#A338BF #BF6038 #54BF38 #3897BF
split-complementary
#A338BF #97BF38 #38BF60
monochromatic
#521C60 #7B2A90 #A338BF #BA63D1 #CF92DF

Accessibility & contrast

On white

5.42
#A338BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A338BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338BF#FFFFFF#000000##FFFFFF
##A338BF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#A25278
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a338bf;
/* rgb */ color: rgb(163, 56, 191);
/* oklch */ color: oklch(55.1% 0.212 318.4);
Tailwind
colors: {
  custom: {
    50: '#c278d3',
    500: '#a338bf',
    950: '#000000',
  },
}
SCSS
$custom: #a338bf;
$custom-light: #c278d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a338bf",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 287.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.21247,
    "h": 318.4
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#A338BF
secondary
#96CA89
accent
#DE4A69
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A338BF

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

Preview Lab → · Contrast checker → · Palette generator →

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