#7B3DBD#7B3DBD

#7B3DBD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.192 H 302.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7B3DBD
RGBrgb(123, 61, 189)
HSLhsl(269, 51%, 49%)
HSVhsv(269, 68%, 74%)
CMYKcmyk(34.9%, 67.7%, 0%, 25.9%)
CIE-LABlab(39.95, 51.28, -57.10)
CIE-LCHlch(39.95, 76.75, 311.92°)
OKLaboklab(50.49% 0.102 -0.1624)
OKLCHoklch(50.49% 0.192 302.1)
XYZxyz(19.0203, 11.2225, 49.2984)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DBD #7FBD3D
analogous
#3D3FBD #7B3DBD #BB3DBD
triadic
#7B3DBD #BD7B3D #3DBD7B
tetradic
#7B3DBD #BD3D3F #7FBD3D #3DBDBB
square
#7B3DBD #BD3D3F #7FBD3D #3DBDBB
split-complementary
#7B3DBD #BDBB3D #3FBD3D
monochromatic
#3F1F60 #5D2E8F #7B3DBD #9A69CE #B997DD

Accessibility & contrast

On white

6.47
#7B3DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7B3DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DBD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DBD#FFFFFF#000000##FFFFFF
##7B3DBD1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3dbd;
/* rgb */ color: rgb(123, 61, 189);
/* oklch */ color: oklch(50.5% 0.192 302.1);
Tailwind
colors: {
  custom: {
    50: '#a677d2',
    500: '#7b3dbd',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dbd;
$custom-light: #a677d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dbd",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 189
  },
  "hsl": {
    "h": 269.063,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50488,
    "c": 0.19184,
    "h": 302.1
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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