#8A3DFF#8A3DFF

#8A3DFF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.4% C 0.263 H 294.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A3DFF
RGBrgb(138, 61, 255)
HSLhsl(264, 100%, 62%)
HSVhsv(264, 76%, 100%)
CMYKcmyk(45.9%, 76.1%, 0%, 0%)
CIE-LABlab(46.92, 69.95, -83.34)
CIE-LCHlch(46.92, 108.81, 310.01°)
OKLaboklab(57.42% 0.1093 -0.239)
OKLCHoklch(57.42% 0.263 294.6)
XYZxyz(30.1950, 15.9599, 96.0780)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DFF #B2FF3D
analogous
#3D51FF #8A3DFF #EB3DFF
triadic
#8A3DFF #FF8A3D #3DFF8A
tetradic
#8A3DFF #FF3D51 #B2FF3D #3DFFEB
square
#8A3DFF #FF3D51 #B2FF3D #3DFFEB
split-complementary
#8A3DFF #FFEB3D #51FF3D
monochromatic
#4D00C2 #6500FF #8A3DFF #AF7AFF #D4B7FF

Accessibility & contrast

On white

5.01
#8A3DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8A3DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DFF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DFF#FFFFFF#000000##FFFFFF
##8A3DFF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#006CFB
Tritanopia (blue-blind)
#67739D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8a3dff;
/* rgb */ color: rgb(138, 61, 255);
/* oklch */ color: oklch(57.4% 0.263 294.6);
Tailwind
colors: {
  custom: {
    50: '#b67bff',
    500: '#8a3dff',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dff;
$custom-light: #b67bff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dff",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 255
  },
  "hsl": {
    "h": 263.814,
    "s": 100,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.26281,
    "h": 294.6
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#8A3DFF
secondary
#D3F0A8
accent
#E6008A
background
#FCF7FF
surface
#F8EEFF
border
#D1C9D7
text
#120A18
muted
#817C86

Preview Lab

Preview with #8A3DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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