#7A3DC2#7A3DC2

#7A3DC2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.197 H 300.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7A3DC2
RGBrgb(122, 61, 194)
HSLhsl(268, 52%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(37.1%, 68.6%, 0%, 23.9%)
CIE-LABlab(40.20, 52.32, -59.64)
CIE-LCHlch(40.20, 79.33, 311.26°)
OKLaboklab(50.75% 0.1 -0.1699)
OKLCHoklch(50.75% 0.197 300.5)
XYZxyz(19.4300, 11.3700, 52.1994)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DC2 #85C23D
analogous
#3D42C2 #7A3DC2 #BD3DC2
triadic
#7A3DC2 #C27A3D #3DC27A
tetradic
#7A3DC2 #C23D42 #85C23D #3DC2BD
square
#7A3DC2 #C23D42 #85C23D #3DC2BD
split-complementary
#7A3DC2 #C2BD3D #42C23D
monochromatic
#3F2065 #5D2E93 #7A3DC2 #9A6CD1 #BA9ADF

Accessibility & contrast

On white

6.41
#7A3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7A3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DC2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DC2#FFFFFF#000000##FFFFFF
##7A3DC21.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#6A5C7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3dc2;
/* rgb */ color: rgb(122, 61, 194);
/* oklch */ color: oklch(50.7% 0.197 300.5);
Tailwind
colors: {
  custom: {
    50: '#a677d5',
    500: '#7a3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dc2;
$custom-light: #a677d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dc2",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 267.519,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.19717,
    "h": 300.5
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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