#7A3DBB#7A3DBB

#7A3DBB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.189 H 302.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7A3DBB
RGBrgb(122, 61, 187)
HSLhsl(269, 51%, 49%)
HSVhsv(269, 67%, 73%)
CMYKcmyk(34.8%, 67.4%, 0%, 26.7%)
CIE-LABlab(39.69, 50.58, -56.37)
CIE-LCHlch(39.69, 75.74, 311.90°)
OKLaboklab(50.22% 0.1009 -0.1603)
OKLCHoklch(50.22% 0.189 302.2)
XYZxyz(18.6623, 11.0629, 48.1562)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DBB #7EBB3D
analogous
#3D3FBB #7A3DBB #B93DBB
triadic
#7A3DBB #BB7A3D #3DBB7A
tetradic
#7A3DBB #BB3D3F #7EBB3D #3DBBB9
square
#7A3DBB #BB3D3F #7EBB3D #3DBBB9
split-complementary
#7A3DBB #BBB93D #3FBB3D
monochromatic
#3E1F5F #5C2E8D #7A3DBB #9968CE #B896DD

Accessibility & contrast

On white

6.54
#7A3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7A3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DBB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DBB#FFFFFF#000000##FFFFFF
##7A3DBB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#6D5A77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3dbb;
/* rgb */ color: rgb(122, 61, 187);
/* oklch */ color: oklch(50.2% 0.189 302.2);
Tailwind
colors: {
  custom: {
    50: '#a577d0',
    500: '#7a3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dbb;
$custom-light: #a577d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dbb",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 269.048,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.18944,
    "h": 302.2
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#7A3DBB
secondary
#ABC88C
accent
#DA4E96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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