#7A46C9#7A46C9

#7A46C9 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.194 H 297.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7A46C9
RGBrgb(122, 70, 201)
HSLhsl(264, 55%, 53%)
HSVhsv(264, 65%, 79%)
CMYKcmyk(39.3%, 65.2%, 0%, 21.2%)
CIE-LABlab(42.36, 49.54, -60.20)
CIE-LCHlch(42.36, 77.96, 309.45°)
OKLaboklab(52.46% 0.0895 -0.1716)
OKLCHoklch(52.46% 0.194 297.5)
XYZxyz(20.7561, 12.7346, 56.6115)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46C9 #95C946
analogous
#4653C9 #7A46C9 #BC46C9
triadic
#7A46C9 #C97A46 #46C97A
tetradic
#7A46C9 #C94653 #95C946 #46C9BC
square
#7A46C9 #C94653 #95C946 #46C9BC
split-complementary
#7A46C9 #C9BC46 #53C946
monochromatic
#422273 #5D2FA2 #7A46C9 #9C75D7 #BEA5E5

Accessibility & contrast

On white

5.92
#7A46C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7A46C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46C9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46C9#FFFFFF#000000##FFFFFF
##7A46C91.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#676481
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a46c9;
/* rgb */ color: rgb(122, 70, 201);
/* oklch */ color: oklch(52.5% 0.194 297.5);
Tailwind
colors: {
  custom: {
    50: '#a67dda',
    500: '#7a46c9',
    950: '#000000',
  },
}
SCSS
$custom: #7a46c9;
$custom-light: #a67dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46c9",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 201
  },
  "hsl": {
    "h": 263.817,
    "s": 54.812,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52464,
    "c": 0.19356,
    "h": 297.5
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#7A46C9
secondary
#BBD299
accent
#DE4AA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A46C9

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

Preview Lab → · Contrast checker → · Palette generator →

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