#7A3DCD#7A3DCD

#7A3DCD is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.209 H 298.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7A3DCD
RGBrgb(122, 61, 205)
HSLhsl(265, 59%, 52%)
HSVhsv(265, 70%, 80%)
CMYKcmyk(40.5%, 70.2%, 0%, 19.6%)
CIE-LABlab(41.03, 55.07, -64.68)
CIE-LCHlch(41.03, 84.95, 310.41°)
OKLaboklab(51.6% 0.0982 -0.1847)
OKLCHoklch(51.6% 0.209 298)
XYZxyz(20.7114, 11.8825, 58.9481)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3DCD #90CD3D
analogous
#3D48CD #7A3DCD #C23DCD
triadic
#7A3DCD #CD7A3D #3DCD7A
tetradic
#7A3DCD #CD3D48 #90CD3D #3DCDC2
square
#7A3DCD #CD3D48 #90CD3D #3DCDC2
split-complementary
#7A3DCD #CDC23D #48CD3D
monochromatic
#411D72 #5D2AA3 #7A3DCD #9B6EDA #BD9EE6

Accessibility & contrast

On white

6.22
#7A3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7A3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3DCD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3DCD#FFFFFF#000000##FFFFFF
##7A3DCD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#666181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7a3dcd;
/* rgb */ color: rgb(122, 61, 205);
/* oklch */ color: oklch(51.6% 0.209 298.0);
Tailwind
colors: {
  custom: {
    50: '#a777dd',
    500: '#7a3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7a3dcd;
$custom-light: #a777dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3dcd",
  "rgb": {
    "r": 122,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 265.417,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.20922,
    "h": 298
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#7A3DCD
secondary
#B8D293
accent
#E246A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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