#7B3BB7#7B3BB7

#7B3BB7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.188 H 304.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7B3BB7
RGBrgb(123, 59, 183)
HSLhsl(271, 51%, 47%)
HSVhsv(271, 68%, 72%)
CMYKcmyk(32.8%, 67.8%, 0%, 28.2%)
CIE-LABlab(39.17, 50.80, -54.85)
CIE-LCHlch(39.17, 74.76, 312.81°)
OKLaboklab(49.79% 0.105 -0.1558)
OKLCHoklch(49.79% 0.188 304)
XYZxyz(18.2776, 10.7578, 45.9041)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BB7 #77B73B
analogous
#3D3BB7 #7B3BB7 #B73BB5
triadic
#7B3BB7 #B77B3B #3BB77B
tetradic
#7B3BB7 #B73D3B #77B73B #3BB5B7
square
#7B3BB7 #B73D3B #77B73B #3BB5B7
split-complementary
#7B3BB7 #B5B73B #3BB73D
monochromatic
#3D1D5A #5C2C89 #7B3BB7 #9963CD #B791DC

Accessibility & contrast

On white

6.66
#7B3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7B3BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BB7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BB7#FFFFFF#000000##FFFFFF
##7B3BB71.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#085CB4
Tritanopia (blue-blind)
#705774
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3bb7;
/* rgb */ color: rgb(123, 59, 183);
/* oklch */ color: oklch(49.8% 0.188 304.0);
Tailwind
colors: {
  custom: {
    50: '#a676cd',
    500: '#7b3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bb7;
$custom-light: #a676cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bb7",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 270.968,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.18786,
    "h": 304
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#7B3BB7
secondary
#A6C687
accent
#DB4D92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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