#7A3DC4#7A3DC4

#7A3DC4 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.199 H 300.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7A3DC4
RGBrgb(122, 61, 196)
HSLhsl(267, 53%, 50%)
HSVhsv(267, 69%, 77%)
CMYKcmyk(37.8%, 68.9%, 0%, 23.1%)
CIE-LABlab(40.35, 52.81, -60.56)
CIE-LCHlch(40.35, 80.36, 311.09°)
OKLaboklab(50.9% 0.0997 -0.1727)
OKLCHoklch(50.9% 0.199 300)
XYZxyz(19.6561, 11.4604, 53.3904)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DC4 #87C43D
analogous
#3D43C4 #7A3DC4 #BD3DC4
triadic
#7A3DC4 #C47A3D #3DC47A
tetradic
#7A3DC4 #C43D43 #87C43D #3DC4BD
square
#7A3DC4 #C43D43 #87C43D #3DC4BD
split-complementary
#7A3DC4 #C4BD3D #43C43D
monochromatic
#401F67 #5D2E96 #7A3DC4 #9A6CD2 #BA9BE1

Accessibility & contrast

On white

6.38
#7A3DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7A3DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DC4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DC4#FFFFFF#000000##FFFFFF
##7A3DC41.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#695D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3dc4;
/* rgb */ color: rgb(122, 61, 196);
/* oklch */ color: oklch(50.9% 0.199 300.0);
Tailwind
colors: {
  custom: {
    50: '#a677d7',
    500: '#7a3dc4',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dc4;
$custom-light: #a677d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dc4",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 267.111,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.19937,
    "h": 300
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#7A3DC4
secondary
#B1CD90
accent
#DD4B9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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