#8A46C7#8A46C7

#8A46C7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.194 H 305.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A46C7
RGBrgb(138, 70, 199)
HSLhsl(272, 54%, 53%)
HSVhsv(272, 65%, 78%)
CMYKcmyk(30.7%, 64.8%, 0%, 22%)
CIE-LABlab(44.10, 52.43, -56.14)
CIE-LCHlch(44.10, 76.81, 313.04°)
OKLaboklab(54.09% 0.1113 -0.1591)
OKLCHoklch(54.09% 0.194 305)
XYZxyz(22.9779, 13.9072, 55.4956)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46C7 #83C746
analogous
#4946C7 #8A46C7 #C746C3
triadic
#8A46C7 #C78A46 #46C78A
tetradic
#8A46C7 #C74946 #83C746 #46C3C7
square
#8A46C7 #C74946 #83C746 #46C3C7
split-complementary
#8A46C7 #C3C746 #46C749
monochromatic
#4B2271 #6B30A0 #8A46C7 #A875D5 #C5A4E3

Accessibility & contrast

On white

5.55
#8A46C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A46C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46C7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46C7#FFFFFF#000000##FFFFFF
##8A46C71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#7F6280
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a46c7;
/* rgb */ color: rgb(138, 70, 199);
/* oklch */ color: oklch(54.1% 0.194 305.0);
Tailwind
colors: {
  custom: {
    50: '#b07ed9',
    500: '#8a46c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a46c7;
$custom-light: #b07ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46c7",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 271.628,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.19419,
    "h": 305
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#8A46C7
secondary
#B3D098
accent
#DD4B90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A46C7

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

Preview Lab → · Contrast checker → · Palette generator →

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