#8A3DD3#8A3DD3

#8A3DD3 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.218 H 303.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A3DD3
RGBrgb(138, 61, 211)
HSLhsl(271, 63%, 53%)
HSVhsv(271, 71%, 83%)
CMYKcmyk(34.6%, 71.1%, 0%, 17.3%)
CIE-LABlab(43.42, 59.47, -64.16)
CIE-LCHlch(43.42, 87.48, 312.83°)
OKLaboklab(53.88% 0.1192 -0.1827)
OKLCHoklch(53.88% 0.218 303.1)
XYZxyz(23.9051, 13.4439, 62.9509)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DD3 #86D33D
analogous
#3F3DD3 #8A3DD3 #D33DD1
triadic
#8A3DD3 #D38A3D #3DD38A
tetradic
#8A3DD3 #D33F3D #86D33D #3DD1D3
square
#8A3DD3 #D33F3D #86D33D #3DD1D3
split-complementary
#8A3DD3 #D1D33D #3DD33F
monochromatic
#4C1C7A #6B27AC #8A3DD3 #A86FDE #C6A1EA

Accessibility & contrast

On white

5.69
#8A3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8A3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DD3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DD3#FFFFFF#000000##FFFFFF
##8A3DD31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#7B6184
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a3dd3;
/* rgb */ color: rgb(138, 61, 211);
/* oklch */ color: oklch(53.9% 0.218 303.1);
Tailwind
colors: {
  custom: {
    50: '#b279e1',
    500: '#8a3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dd3;
$custom-light: #b279e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dd3",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 270.8,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.21814,
    "h": 303.1
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#8A3DD3
secondary
#B5D696
accent
#E64292
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

#8A3DD3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva