#7A3DBE#7A3DBE

#7A3DBE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.193 H 301.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7A3DBE
RGBrgb(122, 61, 190)
HSLhsl(268, 51%, 49%)
HSVhsv(268, 68%, 75%)
CMYKcmyk(35.8%, 67.9%, 0%, 25.5%)
CIE-LABlab(39.90, 51.32, -57.78)
CIE-LCHlch(39.90, 77.28, 311.62°)
OKLaboklab(50.45% 0.1005 -0.1645)
OKLCHoklch(50.45% 0.193 301.4)
XYZxyz(18.9868, 11.1927, 49.8653)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DBE #81BE3D
analogous
#3D41BE #7A3DBE #BB3DBE
triadic
#7A3DBE #BE7A3D #3DBE7A
tetradic
#7A3DBE #BE3D41 #81BE3D #3DBEBB
square
#7A3DBE #BE3D41 #81BE3D #3DBEBB
split-complementary
#7A3DBE #BEBB3D #41BE3D
monochromatic
#3F1F61 #5C2E90 #7A3DBE #9969CF #B998DE

Accessibility & contrast

On white

6.48
#7A3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7A3DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DBE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DBE#FFFFFF#000000##FFFFFF
##7A3DBE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#6C5B79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3dbe;
/* rgb */ color: rgb(122, 61, 190);
/* oklch */ color: oklch(50.4% 0.193 301.4);
Tailwind
colors: {
  custom: {
    50: '#a677d2',
    500: '#7a3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dbe;
$custom-light: #a677d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dbe",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 268.372,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.19276,
    "h": 301.4
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#7A3DBE
secondary
#ADC98D
accent
#DB4D98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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