#7B3CBD#7B3CBD

#7B3CBD is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.193 H 302.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7B3CBD
RGBrgb(123, 60, 189)
HSLhsl(269, 52%, 49%)
HSVhsv(269, 68%, 74%)
CMYKcmyk(34.9%, 68.3%, 0%, 25.9%)
CIE-LABlab(39.78, 51.77, -57.39)
CIE-LCHlch(39.78, 77.29, 312.05°)
OKLaboklab(50.36% 0.1031 -0.1633)
OKLCHoklch(50.36% 0.193 302.3)
XYZxyz(18.9674, 11.1167, 49.2807)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CBD #7EBD3C
analogous
#3C3EBD #7B3CBD #BC3CBD
triadic
#7B3CBD #BD7B3C #3CBD7B
tetradic
#7B3CBD #BD3C3E #7EBD3C #3CBDBC
square
#7B3CBD #BD3C3E #7EBD3C #3CBDBC
split-complementary
#7B3CBD #BDBC3C #3EBD3C
monochromatic
#3F1F60 #5D2D8F #7B3CBD #9A67CF #B996DE

Accessibility & contrast

On white

6.51
#7B3CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7B3CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CBD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CBD#FFFFFF#000000##FFFFFF
##7B3CBD1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#6D5A78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3cbd;
/* rgb */ color: rgb(123, 60, 189);
/* oklch */ color: oklch(50.4% 0.193 302.3);
Tailwind
colors: {
  custom: {
    50: '#a676d2',
    500: '#7b3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cbd;
$custom-light: #a676d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cbd",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 269.302,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50361,
    "c": 0.19313,
    "h": 302.3
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#7B3CBD
secondary
#ABC98C
accent
#DB4D96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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