#7A46D1#7A46D1

#7A46D1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.203 H 295.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7A46D1
RGBrgb(122, 70, 209)
HSLhsl(262, 60%, 55%)
HSVhsv(262, 67%, 82%)
CMYKcmyk(41.6%, 66.5%, 0%, 18%)
CIE-LABlab(42.94, 51.62, -63.87)
CIE-LCHlch(42.94, 82.12, 308.95°)
OKLaboklab(53.07% 0.0886 -0.1824)
OKLCHoklch(53.07% 0.203 295.9)
XYZxyz(21.7218, 13.1209, 61.6974)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46D1 #9DD146
analogous
#4658D1 #7A46D1 #BF46D1
triadic
#7A46D1 #D17A46 #46D17A
tetradic
#7A46D1 #D14658 #9DD146 #46D1BF
square
#7A46D1 #D14658 #9DD146 #46D1BF
split-complementary
#7A46D1 #D1BF46 #58D146
monochromatic
#421F7D #5C2BAE #7A46D1 #9D77DD #C0A8E9

Accessibility & contrast

On white

5.79
#7A46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7A46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46D1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46D1#FFFFFF#000000##FFFFFF
##7A46D11.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#636786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a46d1;
/* rgb */ color: rgb(122, 70, 209);
/* oklch */ color: oklch(53.1% 0.203 295.9);
Tailwind
colors: {
  custom: {
    50: '#a77de0',
    500: '#7a46d1',
    950: '#000000',
  },
}
SCSS
$custom: #7a46d1;
$custom-light: #a77de0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46d1",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 262.446,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.20277,
    "h": 295.9
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

primary
#7A46D1
secondary
#C1D79C
accent
#E344A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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