#8A4FCE#8A4FCE

#8A4FCE is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.190 H 302.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A4FCE
RGBrgb(138, 79, 206)
HSLhsl(268, 56%, 56%)
HSVhsv(268, 62%, 81%)
CMYKcmyk(33%, 61.7%, 0%, 19.2%)
CIE-LABlab(46.25, 49.54, -56.72)
CIE-LCHlch(46.25, 75.31, 311.13°)
OKLaboklab(55.79% 0.1004 -0.1609)
OKLCHoklch(55.79% 0.19 302)
XYZxyz(24.4152, 15.4514, 60.0767)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FCE #93CE4F
analogous
#4F53CE #8A4FCE #C94FCE
triadic
#8A4FCE #CE8A4F #4FCE8A
tetradic
#8A4FCE #CE4F53 #93CE4F #4FCEC9
square
#8A4FCE #CE4F53 #93CE4F #4FCEC9
split-complementary
#8A4FCE #CEC94F #53CE4F
monochromatic
#4E237F #6B31AF #8A4FCE #AA7FDB #CAAFE9

Accessibility & contrast

On white

5.13
#8A4FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8A4FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FCE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FCE#FFFFFF#000000##FFFFFF
##8A4FCE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#7C6A87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a4fce;
/* rgb */ color: rgb(138, 79, 206);
/* oklch */ color: oklch(55.8% 0.190 302.0);
Tailwind
colors: {
  custom: {
    50: '#b083de',
    500: '#8a4fce',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fce;
$custom-light: #b083de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fce",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 267.874,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.18964,
    "h": 302
  },
  "luminance": 0.15451
}

Semantic roles & 50–950 ramp

primary
#8A4FCE
secondary
#BED7A2
accent
#E04899
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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