#7A46BD#7A46BD

#7A46BD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.180 H 300.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7A46BD
RGBrgb(122, 70, 189)
HSLhsl(266, 47%, 51%)
HSVhsv(266, 63%, 74%)
CMYKcmyk(35.4%, 63%, 0%, 25.9%)
CIE-LABlab(41.52, 46.46, -54.58)
CIE-LCHlch(41.52, 71.67, 310.41°)
OKLaboklab(51.59% 0.0906 -0.1551)
OKLCHoklch(51.59% 0.18 300.3)
XYZxyz(19.3993, 12.1919, 49.4655)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46BD #89BD46
analogous
#464EBD #7A46BD #B546BD
triadic
#7A46BD #BD7A46 #46BD7A
tetradic
#7A46BD #BD464E #89BD46 #46BDB5
square
#7A46BD #BD464E #89BD46 #46BDB5
split-complementary
#7A46BD #BDB546 #4EBD46
monochromatic
#402465 #5D3492 #7A46BD #9A73CD #BBA0DD

Accessibility & contrast

On white

6.11
#7A46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7A46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46BD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46BD#FFFFFF#000000##FFFFFF
##7A46BD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#1661BA
Tritanopia (blue-blind)
#6C607B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a46bd;
/* rgb */ color: rgb(122, 70, 189);
/* oklch */ color: oklch(51.6% 0.180 300.3);
Tailwind
colors: {
  custom: {
    50: '#a57cd2',
    500: '#7a46bd',
    950: '#000000',
  },
}
SCSS
$custom: #7a46bd;
$custom-light: #a57cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46bd",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 266.218,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.17959,
    "h": 300.3
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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