#7A46CE#7A46CE

#7A46CE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.199 H 296.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7A46CE
RGBrgb(122, 70, 206)
HSLhsl(263, 58%, 54%)
HSVhsv(263, 66%, 81%)
CMYKcmyk(40.8%, 66%, 0%, 19.2%)
CIE-LABlab(42.72, 50.84, -62.50)
CIE-LCHlch(42.72, 80.57, 309.13°)
OKLaboklab(52.84% 0.0889 -0.1784)
OKLCHoklch(52.84% 0.199 296.5)
XYZxyz(21.3539, 12.9737, 59.7597)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46CE #9ACE46
analogous
#4656CE #7A46CE #BE46CE
triadic
#7A46CE #CE7A46 #46CE7A
tetradic
#7A46CE #CE4656 #9ACE46 #46CEBE
square
#7A46CE #CE4656 #9ACE46 #46CEBE
split-complementary
#7A46CE #CEBE46 #56CE46
monochromatic
#422079 #5D2DAA #7A46CE #9D76DB #C0A7E8

Accessibility & contrast

On white

5.84
#7A46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7A46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46CE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46CE#FFFFFF#000000##FFFFFF
##7A46CE1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#656684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a46ce;
/* rgb */ color: rgb(122, 70, 206);
/* oklch */ color: oklch(52.8% 0.199 296.5);
Tailwind
colors: {
  custom: {
    50: '#a77dde',
    500: '#7a46ce',
    950: '#000000',
  },
}
SCSS
$custom: #7a46ce;
$custom-light: #a77dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46ce",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 262.941,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5284,
    "c": 0.19933,
    "h": 296.5
  },
  "luminance": 0.12974
}

Semantic roles & 50–950 ramp

primary
#7A46CE
secondary
#BFD59B
accent
#E146A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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