#7B3BB6#7B3BB6

#7B3BB6 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.187 H 304.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7B3BB6
RGBrgb(123, 59, 182)
HSLhsl(271, 51%, 47%)
HSVhsv(271, 68%, 71%)
CMYKcmyk(32.4%, 67.6%, 0%, 28.6%)
CIE-LABlab(39.10, 50.56, -54.37)
CIE-LCHlch(39.10, 74.25, 312.92°)
OKLaboklab(49.72% 0.1051 -0.1544)
OKLCHoklch(49.72% 0.187 304.2)
XYZxyz(18.1739, 10.7163, 45.3579)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BB6 #76B63B
analogous
#3E3BB6 #7B3BB6 #B63BB3
triadic
#7B3BB6 #B67B3B #3BB67B
tetradic
#7B3BB6 #B63E3B #76B63B #3BB3B6
square
#7B3BB6 #B63E3B #76B63B #3BB3B6
split-complementary
#7B3BB6 #B3B63B #3BB63E
monochromatic
#3D1D5A #5C2C88 #7B3BB6 #9962CC #B790DB

Accessibility & contrast

On white

6.68
#7B3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7B3BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BB6
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BB6#FFFFFF#000000##FFFFFF
##7B3BB61.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#0C5CB3
Tritanopia (blue-blind)
#705774
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3bb6;
/* rgb */ color: rgb(123, 59, 182);
/* oklch */ color: oklch(49.7% 0.187 304.2);
Tailwind
colors: {
  custom: {
    50: '#a675cd',
    500: '#7b3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bb6;
$custom-light: #a675cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bb6",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 271.22,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49717,
    "c": 0.18677,
    "h": 304.2
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#7B3BB6
secondary
#A5C687
accent
#DB4D91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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