#8A46CD#8A46CD

#8A46CD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.201 H 303.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A46CD
RGBrgb(138, 70, 205)
HSLhsl(270, 57%, 54%)
HSVhsv(270, 66%, 80%)
CMYKcmyk(32.7%, 65.9%, 0%, 19.6%)
CIE-LABlab(44.51, 53.85, -58.95)
CIE-LCHlch(44.51, 79.84, 312.41°)
OKLaboklab(54.51% 0.1107 -0.1674)
OKLCHoklch(54.51% 0.201 303.5)
XYZxyz(23.6883, 14.1914, 59.2370)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46CD #89CD46
analogous
#4746CD #8A46CD #CD46CD
triadic
#8A46CD #CD8A46 #46CD8A
tetradic
#8A46CD #CD4746 #89CD46 #46CDCD
square
#8A46CD #CD4746 #89CD46 #46CDCD
split-complementary
#8A46CD #CDCD46 #46CD47
monochromatic
#4D2078 #6B2DA8 #8A46CD #A876DA #C7A6E7

Accessibility & contrast

On white

5.47
#8A46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8A46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46CD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46CD#FFFFFF#000000##FFFFFF
##8A46CD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#1469CA
Tritanopia (blue-blind)
#7D6484
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a46cd;
/* rgb */ color: rgb(138, 70, 205);
/* oklch */ color: oklch(54.5% 0.201 303.5);
Tailwind
colors: {
  custom: {
    50: '#b17edd',
    500: '#8a46cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a46cd;
$custom-light: #b17edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46cd",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 270.222,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.20072,
    "h": 303.5
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#8A46CD
secondary
#B7D49B
accent
#E14793
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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