#7A3BCD#7A3BCD

#7A3BCD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.212 H 298.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7A3BCD
RGBrgb(122, 59, 205)
HSLhsl(266, 59%, 52%)
HSVhsv(266, 71%, 80%)
CMYKcmyk(40.5%, 71.2%, 0%, 19.6%)
CIE-LABlab(40.69, 56.01, -65.23)
CIE-LCHlch(40.69, 85.98, 310.65°)
OKLaboklab(51.37% 0.1001 -0.1864)
OKLCHoklch(51.37% 0.212 298.2)
XYZxyz(20.6066, 11.6730, 58.9132)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BCD #8ECD3B
analogous
#3B45CD #7A3BCD #C33BCD
triadic
#7A3BCD #CD7A3B #3BCD7A
tetradic
#7A3BCD #CD3B45 #8ECD3B #3BCDC3
square
#7A3BCD #CD3B45 #8ECD3B #3BCDC3
split-complementary
#7A3BCD #CDC33B #45CD3B
monochromatic
#411D71 #5D29A2 #7A3BCD #9B6CD9 #BC9DE6

Accessibility & contrast

On white

6.30
#7A3BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7A3BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BCD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BCD#FFFFFF#000000##FFFFFF
##7A3BCD1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#665F80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7a3bcd;
/* rgb */ color: rgb(122, 59, 205);
/* oklch */ color: oklch(51.4% 0.212 298.2);
Tailwind
colors: {
  custom: {
    50: '#a776dd',
    500: '#7a3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bcd;
$custom-light: #a776dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bcd",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 265.89,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51365,
    "c": 0.21154,
    "h": 298.2
  },
  "luminance": 0.11673
}

Semantic roles & 50–950 ramp

primary
#7A3BCD
secondary
#B6D292
accent
#E3459F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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