#7A3BC1#7A3BC1

#7A3BC1 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.199 H 301.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7A3BC1
RGBrgb(122, 59, 193)
HSLhsl(268, 53%, 49%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(36.8%, 69.4%, 0%, 24.3%)
CIE-LABlab(39.77, 53.04, -59.74)
CIE-LCHlch(39.77, 79.89, 311.60°)
OKLaboklab(50.43% 0.1022 -0.1702)
OKLCHoklch(50.43% 0.199 301)
XYZxyz(19.2133, 11.1156, 51.5750)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BC1 #82C13B
analogous
#3B3FC1 #7A3BC1 #BD3BC1
triadic
#7A3BC1 #C17A3B #3BC17A
tetradic
#7A3BC1 #C13B3F #82C13B #3BC1BD
square
#7A3BC1 #C13B3F #82C13B #3BC1BD
split-complementary
#7A3BC1 #C1BD3B #3FC13B
monochromatic
#3F1E63 #5C2D92 #7A3BC1 #9968D1 #B997DF

Accessibility & contrast

On white

6.52
#7A3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7A3BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BC1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BC1#FFFFFF#000000##FFFFFF
##7A3BC11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#6B5B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3bc1;
/* rgb */ color: rgb(122, 59, 193);
/* oklch */ color: oklch(50.4% 0.199 301.0);
Tailwind
colors: {
  custom: {
    50: '#a676d5',
    500: '#7a3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bc1;
$custom-light: #a676d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bc1",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 268.209,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.19855,
    "h": 301
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#7A3BC1
secondary
#AECB8D
accent
#DD4B98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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