#8A3DCD#8A3DCD

#8A3DCD is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.212 H 304.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A3DCD
RGBrgb(138, 61, 205)
HSLhsl(272, 59%, 52%)
HSVhsv(272, 70%, 80%)
CMYKcmyk(32.7%, 70.2%, 0%, 19.6%)
CIE-LABlab(42.99, 58.08, -61.41)
CIE-LCHlch(42.99, 84.52, 313.40°)
OKLaboklab(53.43% 0.1202 -0.1746)
OKLCHoklch(53.43% 0.212 304.6)
XYZxyz(23.1669, 13.1486, 59.0632)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DCD #80CD3D
analogous
#423DCD #8A3DCD #CD3DC8
triadic
#8A3DCD #CD8A3D #3DCD8A
tetradic
#8A3DCD #CD423D #80CD3D #3DC8CD
square
#8A3DCD #CD423D #80CD3D #3DC8CD
split-complementary
#8A3DCD #C8CD3D #3DCD42
monochromatic
#4B1D72 #6B2AA3 #8A3DCD #A76EDA #C59EE6

Accessibility & contrast

On white

5.79
#8A3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8A3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DCD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DCD#FFFFFF#000000##FFFFFF
##8A3DCD1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#7D5F81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3dcd;
/* rgb */ color: rgb(138, 61, 205);
/* oklch */ color: oklch(53.4% 0.212 304.6);
Tailwind
colors: {
  custom: {
    50: '#b179dd',
    500: '#8a3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dcd;
$custom-light: #b179dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dcd",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 272.083,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.21199,
    "h": 304.6
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#8A3DCD
secondary
#B1D293
accent
#E2468E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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