#7B3AD2#7B3AD2

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

Color values

HEX#7B3AD2
RGBrgb(123, 58, 210)
HSLhsl(266, 63%, 53%)
HSVhsv(266, 72%, 82%)
CMYKcmyk(41.4%, 72.4%, 0%, 17.6%)
CIE-LABlab(41.04, 57.89, -67.54)
CIE-LCHlch(41.04, 88.96, 310.60°)
OKLaboklab(51.76% 0.1014 -0.1931)
OKLCHoklch(51.76% 0.218 297.7)
XYZxyz(21.3113, 11.8898, 62.1324)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3AD2 #91D23A
analogous
#3A45D2 #7B3AD2 #C73AD2
triadic
#7B3AD2 #D27B3A #3AD27B
tetradic
#7B3AD2 #D23A45 #91D23A #3AD2C7
square
#7B3AD2 #D23A45 #91D23A #3AD2C7
split-complementary
#7B3AD2 #D2C73A #45D23A
monochromatic
#421B77 #5E26A8 #7B3AD2 #9C6CDD #BE9EE9

Accessibility & contrast

On white

6.22
#7B3AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7B3AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3AD2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3AD2#FFFFFF#000000##FFFFFF
##7B3AD21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3ad2;
/* rgb */ color: rgb(123, 58, 210);
/* oklch */ color: oklch(51.8% 0.218 297.7);
Tailwind
colors: {
  custom: {
    50: '#a876e1',
    500: '#7b3ad2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ad2;
$custom-light: #a876e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ad2",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 265.658,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.21814,
    "h": 297.7
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#7B3AD2
secondary
#B9D593
accent
#E642A0
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7B3AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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