#8A46BE#8A46BE

#8A46BE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.184 H 307.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A46BE
RGBrgb(138, 70, 190)
HSLhsl(274, 48%, 51%)
HSVhsv(274, 63%, 75%)
CMYKcmyk(27.4%, 63.2%, 0%, 25.5%)
CIE-LABlab(43.51, 50.32, -51.86)
CIE-LCHlch(43.51, 72.26, 314.14°)
OKLaboklab(53.48% 0.1119 -0.1466)
OKLCHoklch(53.48% 0.184 307.4)
XYZxyz(21.9637, 13.5016, 50.1542)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A46BE #7ABE46
analogous
#4E46BE #8A46BE #BE46B6
triadic
#8A46BE #BE8A46 #46BE8A
tetradic
#8A46BE #BE4E46 #7ABE46 #46B6BE
square
#8A46BE #BE4E46 #7ABE46 #46B6BE
split-complementary
#8A46BE #B6BE46 #46BE4E
monochromatic
#492466 #6A3493 #8A46BE #A773CE #C3A1DE

Accessibility & contrast

On white

5.68
#8A46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8A46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A46BE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A46BE#FFFFFF#000000##FFFFFF
##8A46BE1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2F67BB
Tritanopia (blue-blind)
#825E7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a46be;
/* rgb */ color: rgb(138, 70, 190);
/* oklch */ color: oklch(53.5% 0.184 307.4);
Tailwind
colors: {
  custom: {
    50: '#b07dd2',
    500: '#8a46be',
    950: '#000000',
  },
}
SCSS
$custom: #8a46be;
$custom-light: #b07dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a46be",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 274,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.18439,
    "h": 307.4
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#8A46BE
secondary
#ACCA95
accent
#D8508B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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