#7A46D9#7A46D9

#7A46D9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.212 H 294.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7A46D9
RGBrgb(122, 70, 217)
HSLhsl(261, 66%, 56%)
HSVhsv(261, 68%, 85%)
CMYKcmyk(43.8%, 67.7%, 0%, 14.9%)
CIE-LABlab(43.55, 53.72, -67.48)
CIE-LCHlch(43.55, 86.25, 308.52°)
OKLaboklab(53.69% 0.0874 -0.193)
OKLCHoklch(53.69% 0.212 294.4)
XYZxyz(22.7372, 13.5270, 67.0452)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46D9 #A5D946
analogous
#465CD9 #7A46D9 #C346D9
triadic
#7A46D9 #D97A46 #46D97A
tetradic
#7A46D9 #D9465C #A5D946 #46D9C3
square
#7A46D9 #D9465C #A5D946 #46D9C3
split-complementary
#7A46D9 #D9C346 #5CD946
monochromatic
#421C89 #5B26BB #7A46D9 #9F79E3 #C3ACEE

Accessibility & contrast

On white

5.67
#7A46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7A46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46D9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46D9#FFFFFF#000000##FFFFFF
##7A46D91.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#5F6A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a46d9;
/* rgb */ color: rgb(122, 70, 217);
/* oklch */ color: oklch(53.7% 0.212 294.4);
Tailwind
colors: {
  custom: {
    50: '#a87de6',
    500: '#7a46d9',
    950: '#000000',
  },
}
SCSS
$custom: #7a46d9;
$custom-light: #a87de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46d9",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 261.224,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.2119,
    "h": 294.4
  },
  "luminance": 0.13528
}

Semantic roles & 50–950 ramp

primary
#7A46D9
secondary
#C6DC9F
accent
#E93FAD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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