#7B3AD3#7B3AD3

#7B3AD3 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.219 H 297.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7B3AD3
RGBrgb(123, 58, 211)
HSLhsl(265, 63%, 53%)
HSVhsv(265, 73%, 83%)
CMYKcmyk(41.7%, 72.5%, 0%, 17.3%)
CIE-LABlab(41.12, 58.14, -67.99)
CIE-LCHlch(41.12, 89.46, 310.54°)
OKLaboklab(51.84% 0.1012 -0.1944)
OKLCHoklch(51.84% 0.219 297.5)
XYZxyz(21.4363, 11.9398, 62.7906)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3AD3 #92D33A
analogous
#3A46D3 #7B3AD3 #C73AD3
triadic
#7B3AD3 #D37B3A #3AD37B
tetradic
#7B3AD3 #D33A46 #92D33A #3AD3C7
square
#7B3AD3 #D33A46 #92D33A #3AD3C7
split-complementary
#7B3AD3 #D3C73A #46D33A
monochromatic
#421B78 #5E26AA #7B3AD3 #9D6CDE #BE9EE9

Accessibility & contrast

On white

6.20
#7B3AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7B3AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3AD3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3AD3#FFFFFF#000000##FFFFFF
##7B3AD31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#656183
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b3ad3;
/* rgb */ color: rgb(123, 58, 211);
/* oklch */ color: oklch(51.8% 0.219 297.5);
Tailwind
colors: {
  custom: {
    50: '#a876e2',
    500: '#7b3ad3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ad3;
$custom-light: #a876e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ad3",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 211
  },
  "hsl": {
    "h": 265.49,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.2192,
    "h": 297.5
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#7B3AD3
secondary
#B9D693
accent
#E741A0
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7B3AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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