#7A3BC4#7A3BC4

#7A3BC4 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.202 H 300.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7A3BC4
RGBrgb(122, 59, 196)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 77%)
CMYKcmyk(37.8%, 69.9%, 0%, 23.1%)
CIE-LABlab(40.00, 53.78, -61.13)
CIE-LCHlch(40.00, 81.41, 311.34°)
OKLaboklab(50.66% 0.1017 -0.1743)
OKLCHoklch(50.66% 0.202 300.3)
XYZxyz(19.5514, 11.2509, 53.3554)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BC4 #85C43B
analogous
#3B41C4 #7A3BC4 #BE3BC4
triadic
#7A3BC4 #C47A3B #3BC47A
tetradic
#7A3BC4 #C43B41 #85C43B #3BC4BE
square
#7A3BC4 #C43B41 #85C43B #3BC4BE
split-complementary
#7A3BC4 #C4BE3B #41C43B
monochromatic
#3F1F66 #5D2D95 #7A3BC4 #9A6AD2 #BA99E0

Accessibility & contrast

On white

6.46
#7A3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7A3BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BC4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BC4#FFFFFF#000000##FFFFFF
##7A3BC41.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#695C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3bc4;
/* rgb */ color: rgb(122, 59, 196);
/* oklch */ color: oklch(50.7% 0.202 300.3);
Tailwind
colors: {
  custom: {
    50: '#a676d7',
    500: '#7a3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bc4;
$custom-light: #a676d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bc4",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 267.591,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.20181,
    "h": 300.3
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#7A3BC4
secondary
#B0CC8F
accent
#DD4B9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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