#8A3FCD#8A3FCD

#8A3FCD is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.210 H 304.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A3FCD
RGBrgb(138, 63, 205)
HSLhsl(272, 59%, 53%)
HSVhsv(272, 69%, 80%)
CMYKcmyk(32.7%, 69.3%, 0%, 19.6%)
CIE-LABlab(43.31, 57.17, -60.89)
CIE-LCHlch(43.31, 83.52, 313.20°)
OKLaboklab(53.66% 0.1182 -0.1731)
OKLCHoklch(53.66% 0.21 304.3)
XYZxyz(23.2757, 13.3662, 59.0995)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FCD #82CD3F
analogous
#433FCD #8A3FCD #CD3FC9
triadic
#8A3FCD #CD8A3F #3FCD8A
tetradic
#8A3FCD #CD433F #82CD3F #3FC9CD
square
#8A3FCD #CD433F #82CD3F #3FC9CD
split-complementary
#8A3FCD #C9CD3F #3FCD43
monochromatic
#4B1E74 #6B2BA4 #8A3FCD #A870DA #C5A0E6

Accessibility & contrast

On white

5.72
#8A3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8A3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FCD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FCD#FFFFFF#000000##FFFFFF
##8A3FCD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3fcd;
/* rgb */ color: rgb(138, 63, 205);
/* oklch */ color: oklch(53.7% 0.210 304.3);
Tailwind
colors: {
  custom: {
    50: '#b17add',
    500: '#8a3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fcd;
$custom-light: #b17add;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fcd",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 271.69,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.20958,
    "h": 304.3
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#8A3FCD
secondary
#B2D395
accent
#E24690
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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