#7A3DB2#7A3DB2

#7A3DB2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.179 H 304.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7A3DB2
RGBrgb(122, 61, 178)
HSLhsl(271, 49%, 47%)
HSVhsv(271, 66%, 70%)
CMYKcmyk(31.5%, 65.7%, 0%, 30.2%)
CIE-LABlab(39.05, 48.39, -52.09)
CIE-LCHlch(39.05, 71.10, 312.89°)
OKLaboklab(49.57% 0.1019 -0.1477)
OKLCHoklch(49.57% 0.179 304.6)
XYZxyz(17.7289, 10.6895, 43.2401)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DB2 #75B23D
analogous
#403DB2 #7A3DB2 #B23DB0
triadic
#7A3DB2 #B27A3D #3DB27A
tetradic
#7A3DB2 #B2403D #75B23D #3DB0B2
square
#7A3DB2 #B2403D #75B23D #3DB0B2
split-complementary
#7A3DB2 #B0B23D #3DB240
monochromatic
#3C1E57 #5B2D84 #7A3DB2 #9863C9 #B690D9

Accessibility & contrast

On white

6.69
#7A3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7A3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DB2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DB2#FFFFFF#000000##FFFFFF
##7A3DB21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#1A5CAF
Tritanopia (blue-blind)
#705672
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a3db2;
/* rgb */ color: rgb(122, 61, 178);
/* oklch */ color: oklch(49.6% 0.179 304.6);
Tailwind
colors: {
  custom: {
    50: '#a576ca',
    500: '#7a3db2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3db2;
$custom-light: #a576ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3db2",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 271.282,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49568,
    "c": 0.17946,
    "h": 304.6
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#7A3DB2
secondary
#A4C487
accent
#D94F91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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