#7A46CA#7A46CA

#7A46CA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.195 H 297.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7A46CA
RGBrgb(122, 70, 202)
HSLhsl(264, 55%, 53%)
HSVhsv(264, 65%, 79%)
CMYKcmyk(39.6%, 65.3%, 0%, 20.8%)
CIE-LABlab(42.43, 49.80, -60.66)
CIE-LCHlch(42.43, 78.49, 309.38°)
OKLaboklab(52.54% 0.0894 -0.173)
OKLCHoklch(52.54% 0.195 297.3)
XYZxyz(20.8741, 12.7818, 57.2330)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A46CA #96CA46
analogous
#4654CA #7A46CA #BC46CA
triadic
#7A46CA #CA7A46 #46CA7A
tetradic
#7A46CA #CA4654 #96CA46 #46CABC
square
#7A46CA #CA4654 #96CA46 #46CABC
split-complementary
#7A46CA #CABC46 #54CA46
monochromatic
#422174 #5D2FA4 #7A46CA #9C76D8 #BEA5E5

Accessibility & contrast

On white

5.90
#7A46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7A46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A46CA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A46CA#FFFFFF#000000##FFFFFF
##7A46CA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#666582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7a46ca;
/* rgb */ color: rgb(122, 70, 202);
/* oklch */ color: oklch(52.5% 0.195 297.3);
Tailwind
colors: {
  custom: {
    50: '#a67ddb',
    500: '#7a46ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a46ca;
$custom-light: #a67ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a46ca",
  "rgb": {
    "r": 122,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 263.636,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.19472,
    "h": 297.3
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#7A46CA
secondary
#BCD29A
accent
#DF49A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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