#7B3ADC#7B3ADC

#7B3ADC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.229 H 295.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7B3ADC
RGBrgb(123, 58, 220)
HSLhsl(264, 70%, 55%)
HSVhsv(264, 74%, 86%)
CMYKcmyk(44.1%, 73.6%, 0%, 13.7%)
CIE-LABlab(41.85, 60.39, -71.96)
CIE-LCHlch(41.85, 93.94, 310.00°)
OKLaboklab(52.58% 0.0992 -0.2061)
OKLCHoklch(52.58% 0.229 295.7)
XYZxyz(22.5962, 12.4038, 68.8999)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3ADC #9BDC3A
analogous
#3A4ADC #7B3ADC #CC3ADC
triadic
#7B3ADC #DC7B3A #3ADC7B
tetradic
#7B3ADC #DC3A4A #9BDC3A #3ADCCC
square
#7B3ADC #DC3A4A #9BDC3A #3ADCCC
split-complementary
#7B3ADC #DCCC3A #4ADC3A
monochromatic
#431784 #5D21B8 #7B3ADC #9E6EE5 #C1A2EE

Accessibility & contrast

On white

6.03
#7B3ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7B3ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3ADC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3ADC#FFFFFF#000000##FFFFFF
##7B3ADC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#606588
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b3adc;
/* rgb */ color: rgb(123, 58, 220);
/* oklch */ color: oklch(52.6% 0.229 295.7);
Tailwind
colors: {
  custom: {
    50: '#a976e8',
    500: '#7b3adc',
    950: '#000000',
  },
}
SCSS
$custom: #7b3adc;
$custom-light: #a976e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3adc",
  "rgb": {
    "r": 123,
    "g": 58,
    "b": 220
  },
  "hsl": {
    "h": 264.074,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52584,
    "c": 0.22873,
    "h": 295.7
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#7B3ADC
secondary
#C0DB97
accent
#ED3BA5
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B3ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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