#7A3DC5#7A3DC5

#7A3DC5 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.200 H 299.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7A3DC5
RGBrgb(122, 61, 197)
HSLhsl(267, 54%, 51%)
HSVhsv(267, 69%, 77%)
CMYKcmyk(38.1%, 69%, 0%, 22.7%)
CIE-LABlab(40.42, 53.06, -61.03)
CIE-LCHlch(40.42, 80.87, 311.01°)
OKLaboklab(50.98% 0.0995 -0.174)
OKLCHoklch(50.98% 0.2 299.8)
XYZxyz(19.7703, 11.5061, 53.9918)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DC5 #88C53D
analogous
#3D44C5 #7A3DC5 #BE3DC5
triadic
#7A3DC5 #C57A3D #3DC57A
tetradic
#7A3DC5 #C53D44 #88C53D #3DC5BE
square
#7A3DC5 #C53D44 #88C53D #3DC5BE
split-complementary
#7A3DC5 #C5BE3D #44C53D
monochromatic
#401F68 #5D2D98 #7A3DC5 #9A6CD3 #BB9BE1

Accessibility & contrast

On white

6.36
#7A3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7A3DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DC5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DC5#FFFFFF#000000##FFFFFF
##7A3DC51.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a3dc5;
/* rgb */ color: rgb(122, 61, 197);
/* oklch */ color: oklch(51.0% 0.200 299.8);
Tailwind
colors: {
  custom: {
    50: '#a677d7',
    500: '#7a3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dc5;
$custom-light: #a677d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dc5",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 266.912,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.20046,
    "h": 299.8
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#7A3DC5
secondary
#B2CD91
accent
#DD4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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