#8A4CCF#8A4CCF

#8A4CCF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.195 H 302.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A4CCF
RGBrgb(138, 76, 207)
HSLhsl(268, 58%, 55%)
HSVhsv(268, 63%, 81%)
CMYKcmyk(33.3%, 63.3%, 0%, 18.8%)
CIE-LABlab(45.74, 51.33, -58.11)
CIE-LCHlch(45.74, 77.54, 311.46°)
OKLaboklab(55.45% 0.1038 -0.165)
OKLCHoklch(55.45% 0.195 302.2)
XYZxyz(24.3255, 15.0771, 60.6480)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CCF #91CF4C
analogous
#4C4FCF #8A4CCF #CB4CCF
triadic
#8A4CCF #CF8A4C #4CCF8A
tetradic
#8A4CCF #CF4C4F #91CF4C #4CCFCB
square
#8A4CCF #CF4C4F #91CF4C #4CCFCB
split-complementary
#8A4CCF #CFCB4C #4FCF4C
monochromatic
#4E227F #6B2FAF #8A4CCF #AA7CDC #C9ADE9

Accessibility & contrast

On white

5.23
#8A4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8A4CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CCF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CCF#FFFFFF#000000##FFFFFF
##8A4CCF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#7C6887
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4ccf;
/* rgb */ color: rgb(138, 76, 207);
/* oklch */ color: oklch(55.4% 0.195 302.2);
Tailwind
colors: {
  custom: {
    50: '#b181de',
    500: '#8a4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ccf;
$custom-light: #b181de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ccf",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 268.397,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55446,
    "c": 0.19492,
    "h": 302.2
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#8A4CCF
secondary
#BDD7A0
accent
#E14798
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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