#7B3BBE#7B3BBE

#7B3BBE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.195 H 302.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7B3BBE
RGBrgb(123, 59, 190)
HSLhsl(269, 53%, 49%)
HSVhsv(269, 69%, 75%)
CMYKcmyk(35.3%, 68.9%, 0%, 25.5%)
CIE-LABlab(39.68, 52.50, -58.14)
CIE-LCHlch(39.68, 78.33, 312.08°)
OKLaboklab(50.31% 0.104 -0.1655)
OKLCHoklch(50.31% 0.195 302.2)
XYZxyz(19.0244, 11.0565, 49.8371)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BBE #7EBE3B
analogous
#3B3DBE #7B3BBE #BD3BBE
triadic
#7B3BBE #BE7B3B #3BBE7B
tetradic
#7B3BBE #BE3B3D #7EBE3B #3BBEBD
square
#7B3BBE #BE3B3D #7EBE3B #3BBEBD
split-complementary
#7B3BBE #BEBD3B #3DBE3B
monochromatic
#3F1E61 #5D2C8F #7B3BBE #9A67D0 #B995DE

Accessibility & contrast

On white

6.54
#7B3BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7B3BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BBE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BBE#FFFFFF#000000##FFFFFF
##7B3BBE1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#6D5A78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3bbe;
/* rgb */ color: rgb(123, 59, 190);
/* oklch */ color: oklch(50.3% 0.195 302.2);
Tailwind
colors: {
  custom: {
    50: '#a676d2',
    500: '#7b3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bbe;
$custom-light: #a676d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bbe",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 269.313,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50312,
    "c": 0.19547,
    "h": 302.2
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#7B3BBE
secondary
#ABCA8B
accent
#DC4C96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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