#8A4BCF#8A4BCF

#8A4BCF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.196 H 302.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A4BCF
RGBrgb(138, 75, 207)
HSLhsl(269, 58%, 55%)
HSVhsv(269, 64%, 81%)
CMYKcmyk(33.3%, 63.8%, 0%, 18.8%)
CIE-LABlab(45.55, 51.84, -58.41)
CIE-LCHlch(45.55, 78.10, 311.59°)
OKLaboklab(55.31% 0.105 -0.1658)
OKLCHoklch(55.31% 0.196 302.3)
XYZxyz(24.2572, 14.9404, 60.6252)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BCF #90CF4B
analogous
#4B4ECF #8A4BCF #CC4BCF
triadic
#8A4BCF #CF8A4B #4BCF8A
tetradic
#8A4BCF #CF4B4E #90CF4B #4BCFCC
square
#8A4BCF #CF4B4E #90CF4B #4BCFCC
split-complementary
#8A4BCF #CFCC4B #4ECF4B
monochromatic
#4E227E #6B2EAE #8A4BCF #A97BDC #C9ACE9

Accessibility & contrast

On white

5.27
#8A4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8A4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BCF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BCF#FFFFFF#000000##FFFFFF
##8A4BCF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4bcf;
/* rgb */ color: rgb(138, 75, 207);
/* oklch */ color: oklch(55.3% 0.196 302.3);
Tailwind
colors: {
  custom: {
    50: '#b181de',
    500: '#8a4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bcf;
$custom-light: #b181de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bcf",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 268.636,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55311,
    "c": 0.19627,
    "h": 302.3
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

primary
#8A4BCF
secondary
#BCD69F
accent
#E14797
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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