#8A4DCF#8A4DCF

#8A4DCF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.6% C 0.194 H 302.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A4DCF
RGBrgb(138, 77, 207)
HSLhsl(268, 58%, 56%)
HSVhsv(268, 63%, 81%)
CMYKcmyk(33.3%, 62.8%, 0%, 18.8%)
CIE-LABlab(45.93, 50.82, -57.80)
CIE-LCHlch(45.93, 76.97, 311.32°)
OKLaboklab(55.58% 0.1027 -0.1641)
OKLCHoklch(55.58% 0.194 302)
XYZxyz(24.3950, 15.2160, 60.6712)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DCF #92CF4D
analogous
#4D51CF #8A4DCF #CB4DCF
triadic
#8A4DCF #CF8A4D #4DCF8A
tetradic
#8A4DCF #CF4D51 #92CF4D #4DCFCB
square
#8A4DCF #CF4D51 #92CF4D #4DCFCB
split-complementary
#8A4DCF #CFCB4D #51CF4D
monochromatic
#4E227F #6B2FAF #8A4DCF #AA7DDC #C9ADE9

Accessibility & contrast

On white

5.19
#8A4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8A4DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DCF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DCF#FFFFFF#000000##FFFFFF
##8A4DCF1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#216CCC
Tritanopia (blue-blind)
#7C6987
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a4dcf;
/* rgb */ color: rgb(138, 77, 207);
/* oklch */ color: oklch(55.6% 0.194 302.0);
Tailwind
colors: {
  custom: {
    50: '#b182de',
    500: '#8a4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dcf;
$custom-light: #b182de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dcf",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 268.154,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.19355,
    "h": 302
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#8A4DCF
secondary
#BED7A1
accent
#E14799
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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