#7A46BE#7A46BE

#7A46BE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.181 H 300.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7A46BE
RGBrgb(122, 70, 190)
HSLhsl(266, 48%, 51%)
HSVhsv(266, 63%, 75%)
CMYKcmyk(35.8%, 63.2%, 0%, 25.5%)
CIE-LABlab(41.59, 46.71, -55.05)
CIE-LCHlch(41.59, 72.20, 310.32°)
OKLaboklab(51.66% 0.0905 -0.1565)
OKLCHoklch(51.66% 0.181 300)
XYZxyz(19.5082, 12.2354, 50.0391)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46BE #8ABE46
analogous
#464EBE #7A46BE #B646BE
triadic
#7A46BE #BE7A46 #46BE7A
tetradic
#7A46BE #BE464E #8ABE46 #46BEB6
square
#7A46BE #BE464E #8ABE46 #46BEB6
split-complementary
#7A46BE #BEB646 #4EBE46
monochromatic
#402466 #5D3493 #7A46BE #9B73CE #BBA1DE

Accessibility & contrast

On white

6.09
#7A46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7A46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46BE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46BE#FFFFFF#000000##FFFFFF
##7A46BE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#1461BB
Tritanopia (blue-blind)
#6B607B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a46be;
/* rgb */ color: rgb(122, 70, 190);
/* oklch */ color: oklch(51.7% 0.181 300.0);
Tailwind
colors: {
  custom: {
    50: '#a57cd2',
    500: '#7a46be',
    950: '#000000',
  },
}
SCSS
$custom: #7a46be;
$custom-light: #a57cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46be",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 266,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.18076,
    "h": 300
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#7A46BE
secondary
#B3CA95
accent
#D8509D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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