#8A3FD9#8A3FD9

#8A3FD9 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.222 H 301.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A3FD9
RGBrgb(138, 63, 217)
HSLhsl(269, 67%, 55%)
HSVhsv(269, 71%, 85%)
CMYKcmyk(36.4%, 71%, 0%, 14.9%)
CIE-LABlab(44.19, 59.99, -66.36)
CIE-LCHlch(44.19, 89.46, 312.11°)
OKLaboklab(54.56% 0.1163 -0.1892)
OKLCHoklch(54.56% 0.222 301.6)
XYZxyz(24.7801, 13.9679, 67.0228)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FD9 #8ED93F
analogous
#3F41D9 #8A3FD9 #D73FD9
triadic
#8A3FD9 #D98A3F #3FD98A
tetradic
#8A3FD9 #D93F41 #8ED93F #3FD9D7
square
#8A3FD9 #D93F41 #8ED93F #3FD9D7
split-complementary
#8A3FD9 #D9D73F #41D93F
monochromatic
#4D1A84 #6B24B7 #8A3FD9 #A972E3 #C8A5ED

Accessibility & contrast

On white

5.54
#8A3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8A3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FD9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FD9#FFFFFF#000000##FFFFFF
##8A3FD91.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#796488
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a3fd9;
/* rgb */ color: rgb(138, 63, 217);
/* oklch */ color: oklch(54.6% 0.222 301.6);
Tailwind
colors: {
  custom: {
    50: '#b27ae6',
    500: '#8a3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fd9;
$custom-light: #b27ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fd9",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 269.221,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.22203,
    "h": 301.6
  },
  "luminance": 0.13968
}

Semantic roles & 50–950 ramp

primary
#8A3FD9
secondary
#BBDA9A
accent
#EA3E96
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8A3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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