#7A46BB#7A46BB

#7A46BB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.177 H 300.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7A46BB
RGBrgb(122, 70, 187)
HSLhsl(267, 46%, 50%)
HSVhsv(267, 63%, 73%)
CMYKcmyk(34.8%, 62.6%, 0%, 26.7%)
CIE-LABlab(41.38, 45.95, -53.63)
CIE-LCHlch(41.38, 70.62, 310.59°)
OKLaboklab(51.45% 0.0907 -0.1523)
OKLCHoklch(51.45% 0.177 300.8)
XYZxyz(19.1837, 12.1056, 48.3300)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46BB #87BB46
analogous
#464CBB #7A46BB #B546BB
triadic
#7A46BB #BB7A46 #46BB7A
tetradic
#7A46BB #BB464C #87BB46 #46BBB5
square
#7A46BB #BB464C #87BB46 #46BBB5
split-complementary
#7A46BB #BBB546 #4CBB46
monochromatic
#402462 #5D358F #7A46BB #9A73CB #BAA0DC

Accessibility & contrast

On white

6.14
#7A46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7A46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46BB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46BB#FFFFFF#000000##FFFFFF
##7A46BB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#6C5F7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a46bb;
/* rgb */ color: rgb(122, 70, 187);
/* oklch */ color: oklch(51.4% 0.177 300.8);
Tailwind
colors: {
  custom: {
    50: '#a57cd0',
    500: '#7a46bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a46bb;
$custom-light: #a57cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46bb",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 266.667,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51448,
    "c": 0.17725,
    "h": 300.8
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#7A46BB
secondary
#B1C894
accent
#D6529B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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