#7A3BC3#7A3BC3

#7A3BC3 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.6% C 0.201 H 300.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7A3BC3
RGBrgb(122, 59, 195)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(37.4%, 69.7%, 0%, 23.5%)
CIE-LABlab(39.92, 53.53, -60.67)
CIE-LCHlch(39.92, 80.90, 311.42°)
OKLaboklab(50.58% 0.1019 -0.1729)
OKLCHoklch(50.58% 0.201 300.5)
XYZxyz(19.4379, 11.2055, 52.7580)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BC3 #84C33B
analogous
#3B40C3 #7A3BC3 #BE3BC3
triadic
#7A3BC3 #C37A3B #3BC37A
tetradic
#7A3BC3 #C33B40 #84C33B #3BC3BE
square
#7A3BC3 #C33B40 #84C33B #3BC3BE
split-complementary
#7A3BC3 #C3BE3B #40C33B
monochromatic
#3F1F65 #5D2D94 #7A3BC3 #9A69D2 #BA98E0

Accessibility & contrast

On white

6.48
#7A3BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7A3BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BC3
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BC3#FFFFFF#000000##FFFFFF
##7A3BC31.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#6A5C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a3bc3;
/* rgb */ color: rgb(122, 59, 195);
/* oklch */ color: oklch(50.6% 0.201 300.5);
Tailwind
colors: {
  custom: {
    50: '#a676d6',
    500: '#7a3bc3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bc3;
$custom-light: #a676d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bc3",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 267.794,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.20072,
    "h": 300.5
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#7A3BC3
secondary
#AFCC8E
accent
#DD4B99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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