#7A46D0#7A46D0

#7A46D0 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.202 H 296.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7A46D0
RGBrgb(122, 70, 208)
HSLhsl(263, 59%, 55%)
HSVhsv(263, 66%, 82%)
CMYKcmyk(41.3%, 66.3%, 0%, 18.4%)
CIE-LABlab(42.87, 51.36, -63.42)
CIE-LCHlch(42.87, 81.61, 309.00°)
OKLaboklab(52.99% 0.0887 -0.1811)
OKLCHoklch(52.99% 0.202 296.1)
XYZxyz(21.5984, 13.0715, 61.0474)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46D0 #9CD046
analogous
#4657D0 #7A46D0 #BF46D0
triadic
#7A46D0 #D07A46 #46D07A
tetradic
#7A46D0 #D04657 #9CD046 #46D0BF
square
#7A46D0 #D04657 #9CD046 #46D0BF
split-complementary
#7A46D0 #D0BF46 #57D046
monochromatic
#42207C #5D2CAD #7A46D0 #9D77DC #C0A8E9

Accessibility & contrast

On white

5.81
#7A46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7A46D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46D0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46D0#FFFFFF#000000##FFFFFF
##7A46D01.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#646785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a46d0;
/* rgb */ color: rgb(122, 70, 208);
/* oklch */ color: oklch(53.0% 0.202 296.1);
Tailwind
colors: {
  custom: {
    50: '#a77ddf',
    500: '#7a46d0',
    950: '#000000',
  },
}
SCSS
$custom: #7a46d0;
$custom-light: #a77ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46d0",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 262.609,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.20162,
    "h": 296.1
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#7A46D0
secondary
#C0D69C
accent
#E345A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A46D0

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

Preview Lab → · Contrast checker → · Palette generator →

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