#8A3FE0#8A3FE0

#8A3FE0 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.1% C 0.229 H 300.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A3FE0
RGBrgb(138, 63, 224)
HSLhsl(268, 72%, 56%)
HSVhsv(268, 72%, 88%)
CMYKcmyk(38.4%, 71.9%, 0%, 12.2%)
CIE-LABlab(44.72, 61.65, -69.49)
CIE-LCHlch(44.72, 92.90, 311.58°)
OKLaboklab(55.1% 0.115 -0.1984)
OKLCHoklch(55.1% 0.229 300.1)
XYZxyz(25.7099, 14.3399, 71.9199)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3FE0 #95E03F
analogous
#3F45E0 #8A3FE0 #DA3FE0
triadic
#8A3FE0 #E08A3F #3FE08A
tetradic
#8A3FE0 #E03F45 #95E03F #3FE0DA
square
#8A3FE0 #E03F45 #95E03F #3FE0DA
split-complementary
#8A3FE0 #E0DA3F #45E03F
monochromatic
#4E178E #6B1FC2 #8A3FE0 #AA74E9 #CAA8F1

Accessibility & contrast

On white

5.43
#8A3FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8A3FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3FE0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3FE0#FFFFFF#000000##FFFFFF
##8A3FE01.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#76678C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a3fe0;
/* rgb */ color: rgb(138, 63, 224);
/* oklch */ color: oklch(55.1% 0.229 300.1);
Tailwind
colors: {
  custom: {
    50: '#b37beb',
    500: '#8a3fe0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3fe0;
$custom-light: #b37beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3fe0",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 224
  },
  "hsl": {
    "h": 267.95,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55097,
    "c": 0.22927,
    "h": 300.1
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#8A3FE0
secondary
#C0DF9C
accent
#EF399A
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8A3FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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