#8338A3#8338A3

#8338A3 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.0% C 0.173 H 314.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8338A3
RGBrgb(131, 56, 163)
HSLhsl(282, 49%, 43%)
HSVhsv(282, 66%, 64%)
CMYKcmyk(19.6%, 65.6%, 0%, 36.1%)
CIE-LABlab(38.37, 49.45, -44.18)
CIE-LCHlch(38.37, 66.32, 318.22°)
OKLaboklab(49.02% 0.1207 -0.1242)
OKLCHoklch(49.02% 0.173 314.2)
XYZxyz(17.3840, 10.2985, 35.7153)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8338A3 #58A338
analogous
#4D38A3 #8338A3 #A3388D
triadic
#8338A3 #A38338 #38A383
tetradic
#8338A3 #A34D38 #58A338 #388DA3
square
#8338A3 #A34D38 #58A338 #388DA3
split-complementary
#8338A3 #8DA338 #38A34D
monochromatic
#3A1948 #5E2875 #8338A3 #A354C4 #BB82D4

Accessibility & contrast

On white

6.86
#8338A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8338A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8338A3
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8338A3#FFFFFF#000000##FFFFFF
##8338A31.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A6
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#804C68
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8338a3;
/* rgb */ color: rgb(131, 56, 163);
/* oklch */ color: oklch(49.0% 0.173 314.2);
Tailwind
colors: {
  custom: {
    50: '#aa74bf',
    500: '#8338a3',
    950: '#000000',
  },
}
SCSS
$custom: #8338a3;
$custom-light: #aa74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8338a3",
  "rgb": {
    "r": 131,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 282.056,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49019,
    "c": 0.17322,
    "h": 314.2
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

primary
#8338A3
secondary
#8EBD79
accent
#D84F78
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8338A3

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

Preview Lab → · Contrast checker → · Palette generator →

#8338A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva