#8A4FCF#8A4FCF

#8A4FCF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.9% C 0.191 H 301.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A4FCF
RGBrgb(138, 79, 207)
HSLhsl(268, 57%, 56%)
HSVhsv(268, 62%, 81%)
CMYKcmyk(33.3%, 61.8%, 0%, 18.8%)
CIE-LABlab(46.31, 49.78, -57.19)
CIE-LCHlch(46.31, 75.82, 311.04°)
OKLaboklab(55.86% 0.1004 -0.1623)
OKLCHoklch(55.86% 0.191 301.7)
XYZxyz(24.5370, 15.5002, 60.7185)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FCF #94CF4F
analogous
#4F54CF #8A4FCF #CA4FCF
triadic
#8A4FCF #CF8A4F #4FCF8A
tetradic
#8A4FCF #CF4F54 #94CF4F #4FCFCA
square
#8A4FCF #CF4F54 #94CF4F #4FCFCA
split-complementary
#8A4FCF #CFCA4F #54CF4F
monochromatic
#4E2381 #6B30B1 #8A4FCF #AA7FDC #CAAFE9

Accessibility & contrast

On white

5.12
#8A4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8A4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FCF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FCF#FFFFFF#000000##FFFFFF
##8A4FCF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#256DCC
Tritanopia (blue-blind)
#7C6A88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a4fcf;
/* rgb */ color: rgb(138, 79, 207);
/* oklch */ color: oklch(55.9% 0.191 301.7);
Tailwind
colors: {
  custom: {
    50: '#b183de',
    500: '#8a4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fcf;
$custom-light: #b183de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fcf",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 267.656,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.19079,
    "h": 301.7
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#8A4FCF
secondary
#BFD7A2
accent
#E0479A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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