#7B3DBE#7B3DBE

#7B3DBE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.193 H 301.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7B3DBE
RGBrgb(123, 61, 190)
HSLhsl(269, 51%, 49%)
HSVhsv(269, 68%, 75%)
CMYKcmyk(35.3%, 67.9%, 0%, 25.5%)
CIE-LABlab(40.03, 51.53, -57.57)
CIE-LCHlch(40.03, 77.26, 311.83°)
OKLaboklab(50.56% 0.1019 -0.1638)
OKLCHoklch(50.56% 0.193 301.9)
XYZxyz(19.1292, 11.2661, 49.8720)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DBE #80BE3D
analogous
#3D40BE #7B3DBE #BC3DBE
triadic
#7B3DBE #BE7B3D #3DBE7B
tetradic
#7B3DBE #BE3D40 #80BE3D #3DBEBC
square
#7B3DBE #BE3D40 #80BE3D #3DBEBC
split-complementary
#7B3DBE #BEBC3D #40BE3D
monochromatic
#3F1F61 #5D2E90 #7B3DBE #9A69CF #B998DE

Accessibility & contrast

On white

6.46
#7B3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7B3DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DBE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DBE#FFFFFF#000000##FFFFFF
##7B3DBE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#6D5B79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3dbe;
/* rgb */ color: rgb(123, 61, 190);
/* oklch */ color: oklch(50.6% 0.193 301.9);
Tailwind
colors: {
  custom: {
    50: '#a677d2',
    500: '#7b3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dbe;
$custom-light: #a677d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dbe",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 268.837,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.19294,
    "h": 301.9
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#7B3DBE
secondary
#ADC98D
accent
#DB4D97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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