#7A46D6#7A46D6

#7A46D6 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.208 H 294.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7A46D6
RGBrgb(122, 70, 214)
HSLhsl(262, 64%, 56%)
HSVhsv(262, 67%, 84%)
CMYKcmyk(43%, 67.3%, 0%, 16.1%)
CIE-LABlab(43.32, 52.93, -66.14)
CIE-LCHlch(43.32, 84.71, 308.67°)
OKLaboklab(53.45% 0.0879 -0.1891)
OKLCHoklch(53.45% 0.208 294.9)
XYZxyz(22.3505, 13.3724, 65.0088)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46D6 #A2D646
analogous
#465AD6 #7A46D6 #C246D6
triadic
#7A46D6 #D67A46 #46D67A
tetradic
#7A46D6 #D6465A #A2D646 #46D6C2
square
#7A46D6 #D6465A #A2D646 #46D6C2
split-complementary
#7A46D6 #D6C246 #5AD646
monochromatic
#421D84 #5C28B6 #7A46D6 #9E78E1 #C2AAEC

Accessibility & contrast

On white

5.71
#7A46D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7A46D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46D6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46D6#FFFFFF#000000##FFFFFF
##7A46D61.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#616988
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a46d6;
/* rgb */ color: rgb(122, 70, 214);
/* oklch */ color: oklch(53.5% 0.208 294.9);
Tailwind
colors: {
  custom: {
    50: '#a77de4',
    500: '#7a46d6',
    950: '#000000',
  },
}
SCSS
$custom: #7a46d6;
$custom-light: #a77de4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46d6",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 261.667,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.20849,
    "h": 294.9
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#7A46D6
secondary
#C4DA9E
accent
#E741AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A46D6

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

Preview Lab → · Contrast checker → · Palette generator →

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