#7A46BC#7A46BC

#7A46BC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.178 H 300.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7A46BC
RGBrgb(122, 70, 188)
HSLhsl(266, 47%, 51%)
HSVhsv(266, 63%, 74%)
CMYKcmyk(35.1%, 62.8%, 0%, 26.3%)
CIE-LABlab(41.45, 46.20, -54.10)
CIE-LCHlch(41.45, 71.15, 310.50°)
OKLaboklab(51.52% 0.0906 -0.1537)
OKLCHoklch(51.52% 0.178 300.5)
XYZxyz(19.2911, 12.1486, 48.8958)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46BC #88BC46
analogous
#464DBC #7A46BC #B546BC
triadic
#7A46BC #BC7A46 #46BC7A
tetradic
#7A46BC #BC464D #88BC46 #46BCB5
square
#7A46BC #BC464D #88BC46 #46BCB5
split-complementary
#7A46BC #BCB546 #4DBC46
monochromatic
#402464 #5D3490 #7A46BC #9A73CC #BBA0DD

Accessibility & contrast

On white

6.12
#7A46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7A46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46BC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46BC#FFFFFF#000000##FFFFFF
##7A46BC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#1961B9
Tritanopia (blue-blind)
#6C607A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a46bc;
/* rgb */ color: rgb(122, 70, 188);
/* oklch */ color: oklch(51.5% 0.178 300.5);
Tailwind
colors: {
  custom: {
    50: '#a57cd1',
    500: '#7a46bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a46bc;
$custom-light: #a57cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46bc",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 266.441,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51519,
    "c": 0.17842,
    "h": 300.5
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#7A46BC
secondary
#B2C995
accent
#D6519C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7A46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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