#7A3DC3#7A3DC3

#7A3DC3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.198 H 300.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7A3DC3
RGBrgb(122, 61, 195)
HSLhsl(267, 53%, 50%)
HSVhsv(267, 69%, 76%)
CMYKcmyk(37.4%, 68.7%, 0%, 23.5%)
CIE-LABlab(40.27, 52.56, -60.10)
CIE-LCHlch(40.27, 79.85, 311.17°)
OKLaboklab(50.83% 0.0998 -0.1713)
OKLCHoklch(50.83% 0.198 300.2)
XYZxyz(19.5427, 11.4150, 52.7929)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DC3 #86C33D
analogous
#3D43C3 #7A3DC3 #BD3DC3
triadic
#7A3DC3 #C37A3D #3DC37A
tetradic
#7A3DC3 #C33D43 #86C33D #3DC3BD
square
#7A3DC3 #C33D43 #86C33D #3DC3BD
split-complementary
#7A3DC3 #C3BD3D #43C33D
monochromatic
#402066 #5D2E95 #7A3DC3 #9A6CD1 #BA9AE0

Accessibility & contrast

On white

6.40
#7A3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7A3DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DC3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DC3#FFFFFF#000000##FFFFFF
##7A3DC31.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#6A5D7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3dc3;
/* rgb */ color: rgb(122, 61, 195);
/* oklch */ color: oklch(50.8% 0.198 300.2);
Tailwind
colors: {
  custom: {
    50: '#a677d6',
    500: '#7a3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dc3;
$custom-light: #a677d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dc3",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 267.313,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.19827,
    "h": 300.2
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#7A3DC3
secondary
#B1CC90
accent
#DC4C9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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