#7A3BB2#7A3BB2

#7A3BB2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.182 H 304.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7A3BB2
RGBrgb(122, 59, 178)
HSLhsl(272, 50%, 46%)
HSVhsv(272, 67%, 70%)
CMYKcmyk(31.5%, 66.9%, 0%, 30.2%)
CIE-LABlab(38.69, 49.38, -52.67)
CIE-LCHlch(38.69, 72.20, 313.15°)
OKLaboklab(49.31% 0.1042 -0.1494)
OKLCHoklch(49.31% 0.182 304.9)
XYZxyz(17.6241, 10.4800, 43.2052)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BB2 #73B23B
analogous
#3F3BB2 #7A3BB2 #B23BAF
triadic
#7A3BB2 #B27A3B #3BB27A
tetradic
#7A3BB2 #B23F3B #73B23B #3BAFB2
square
#7A3BB2 #B23F3B #73B23B #3BAFB2
split-complementary
#7A3BB2 #AFB23B #3BB23F
monochromatic
#3B1D56 #5A2C84 #7A3BB2 #9860CA #B68EDA

Accessibility & contrast

On white

6.78
#7A3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7A3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BB2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BB2#FFFFFF#000000##FFFFFF
##7A3BB21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#155BAF
Tritanopia (blue-blind)
#705571
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3bb2;
/* rgb */ color: rgb(122, 59, 178);
/* oklch */ color: oklch(49.3% 0.182 304.9);
Tailwind
colors: {
  custom: {
    50: '#a575ca',
    500: '#7a3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bb2;
$custom-light: #a575ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bb2",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 271.765,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.18216,
    "h": 304.9
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#7A3BB2
secondary
#A3C485
accent
#DA4E90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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