#7A3BC5#7A3BC5

#7A3BC5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.203 H 300.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7A3BC5
RGBrgb(122, 59, 197)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 77%)
CMYKcmyk(38.1%, 70.1%, 0%, 22.7%)
CIE-LABlab(40.08, 54.02, -61.59)
CIE-LCHlch(40.08, 81.92, 311.26°)
OKLaboklab(50.74% 0.1016 -0.1756)
OKLCHoklch(50.74% 0.203 300)
XYZxyz(19.6656, 11.2965, 53.9569)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BC5 #86C53B
analogous
#3B41C5 #7A3BC5 #BF3BC5
triadic
#7A3BC5 #C57A3B #3BC57A
tetradic
#7A3BC5 #C53B41 #86C53B #3BC5BF
square
#7A3BC5 #C53B41 #86C53B #3BC5BF
split-complementary
#7A3BC5 #C5BF3B #41C53B
monochromatic
#401F67 #5D2C96 #7A3BC5 #9A6AD3 #BA99E1

Accessibility & contrast

On white

6.44
#7A3BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7A3BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BC5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BC5#FFFFFF#000000##FFFFFF
##7A3BC51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#695C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3bc5;
/* rgb */ color: rgb(122, 59, 197);
/* oklch */ color: oklch(50.7% 0.203 300.0);
Tailwind
colors: {
  custom: {
    50: '#a676d7',
    500: '#7a3bc5',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bc5;
$custom-light: #a676d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bc5",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 267.391,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.20289,
    "h": 300
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#7A3BC5
secondary
#B1CD8F
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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