#8A46D7#8A46D7

#8A46D7 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.212 H 301.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A46D7
RGBrgb(138, 70, 215)
HSLhsl(268, 64%, 56%)
HSVhsv(268, 67%, 84%)
CMYKcmyk(35.8%, 67.4%, 0%, 15.7%)
CIE-LABlab(45.21, 56.26, -63.56)
CIE-LCHlch(45.21, 84.88, 311.51°)
OKLaboklab(55.24% 0.1096 -0.181)
OKLCHoklch(55.24% 0.212 301.2)
XYZxyz(24.9342, 14.6897, 65.7986)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46D7 #93D746
analogous
#464AD7 #8A46D7 #D246D7
triadic
#8A46D7 #D78A46 #46D78A
tetradic
#8A46D7 #D7464A #93D746 #46D7D2
square
#8A46D7 #D7464A #93D746 #46D7D2
split-complementary
#8A46D7 #D7D246 #4AD746
monochromatic
#4E1D86 #6B28B8 #8A46D7 #AA78E2 #CAABED

Accessibility & contrast

On white

5.33
#8A46D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8A46D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46D7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46D7#FFFFFF#000000##FFFFFF
##8A46D71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#7A6889
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a46d7;
/* rgb */ color: rgb(138, 70, 215);
/* oklch */ color: oklch(55.2% 0.212 301.2);
Tailwind
colors: {
  custom: {
    50: '#b27ee4',
    500: '#8a46d7',
    950: '#000000',
  },
}
SCSS
$custom: #8a46d7;
$custom-light: #b27ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46d7",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 268.138,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55237,
    "c": 0.21155,
    "h": 301.2
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#8A46D7
secondary
#BEDA9E
accent
#E74099
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8A46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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