#7A46AF#7A46AF

#7A46AF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.163 H 304.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7A46AF
RGBrgb(122, 70, 175)
HSLhsl(270, 43%, 48%)
HSVhsv(270, 60%, 69%)
CMYKcmyk(30.3%, 60%, 0%, 31.4%)
CIE-LABlab(40.59, 42.94, -47.83)
CIE-LCHlch(40.59, 64.28, 311.91°)
OKLaboklab(50.62% 0.0912 -0.1353)
OKLCHoklch(50.62% 0.163 304)
XYZxyz(17.9523, 11.6131, 41.8449)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46AF #7BAF46
analogous
#4647AF #7A46AF #AE46AF
triadic
#7A46AF #AF7A46 #46AF7A
tetradic
#7A46AF #AF4647 #7BAF46 #46AFAE
square
#7A46AF #AF4647 #7BAF46 #46AFAE
split-complementary
#7A46AF #AFAE46 #47AF46
monochromatic
#3D2358 #5C3583 #7A46AF #996DC5 #B799D6

Accessibility & contrast

On white

6.32
#7A46AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7A46AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46AF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46AF#FFFFFF#000000##FFFFFF
##7A46AF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135EB2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#705B74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a46af;
/* rgb */ color: rgb(122, 70, 175);
/* oklch */ color: oklch(50.6% 0.163 304.0);
Tailwind
colors: {
  custom: {
    50: '#a47cc7',
    500: '#7a46af',
    950: '#000000',
  },
}
SCSS
$custom: #7a46af;
$custom-light: #a47cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46af",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 269.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.16311,
    "h": 304
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#7A46AF
secondary
#A9C28E
accent
#D35594
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7A46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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