#8A3FD1#8A3FD1

#8A3FD1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.214 H 303.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A3FD1
RGBrgb(138, 63, 209)
HSLhsl(271, 61%, 53%)
HSVhsv(271, 70%, 82%)
CMYKcmyk(34%, 69.9%, 0%, 18%)
CIE-LABlab(43.60, 58.11, -62.73)
CIE-LCHlch(43.60, 85.50, 312.81°)
OKLaboklab(53.95% 0.1176 -0.1785)
OKLCHoklch(53.95% 0.214 303.4)
XYZxyz(23.7647, 13.5618, 61.6749)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FD1 #86D13F
analogous
#413FD1 #8A3FD1 #D13FCF
triadic
#8A3FD1 #D18A3F #3FD18A
tetradic
#8A3FD1 #D1413F #86D13F #3FCFD1
square
#8A3FD1 #D1413F #86D13F #3FCFD1
split-complementary
#8A3FD1 #CFD13F #3FD141
monochromatic
#4C1D79 #6B29AA #8A3FD1 #A870DD #C6A2E9

Accessibility & contrast

On white

5.66
#8A3FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8A3FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FD1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FD1#FFFFFF#000000##FFFFFF
##8A3FD11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#7C6184
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a3fd1;
/* rgb */ color: rgb(138, 63, 209);
/* oklch */ color: oklch(54.0% 0.214 303.4);
Tailwind
colors: {
  custom: {
    50: '#b27ae0',
    500: '#8a3fd1',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fd1;
$custom-light: #b27ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fd1",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 270.822,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.21373,
    "h": 303.4
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#8A3FD1
secondary
#B5D597
accent
#E44392
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A3FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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