#7A3BBB#7A3BBB

#7A3BBB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.192 H 302.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7A3BBB
RGBrgb(122, 59, 187)
HSLhsl(270, 52%, 48%)
HSVhsv(270, 68%, 73%)
CMYKcmyk(34.8%, 68.4%, 0%, 26.7%)
CIE-LABlab(39.33, 51.56, -56.94)
CIE-LCHlch(39.33, 76.82, 312.16°)
OKLaboklab(49.97% 0.1031 -0.162)
OKLCHoklch(49.97% 0.192 302.5)
XYZxyz(18.5575, 10.8533, 48.1213)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3BBB #7CBB3B
analogous
#3B3CBB #7A3BBB #BA3BBB
triadic
#7A3BBB #BB7A3B #3BBB7A
tetradic
#7A3BBB #BB3B3C #7CBB3B #3BBBBA
square
#7A3BBB #BB3B3C #7CBB3B #3BBBBA
split-complementary
#7A3BBB #BBBA3B #3CBB3B
monochromatic
#3D1E5E #5C2C8C #7A3BBB #9965CE #B893DD

Accessibility & contrast

On white

6.62
#7A3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7A3BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3BBB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3BBB#FFFFFF#000000##FFFFFF
##7A3BBB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#6D5976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3bbb;
/* rgb */ color: rgb(122, 59, 187);
/* oklch */ color: oklch(50.0% 0.192 302.5);
Tailwind
colors: {
  custom: {
    50: '#a576d0',
    500: '#7a3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #7a3bbb;
$custom-light: #a576d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3bbb",
  "rgb": {
    "r": 122,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 269.531,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49971,
    "c": 0.19201,
    "h": 302.5
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#7A3BBB
secondary
#A9C88A
accent
#DB4C95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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