#7B3DBB#7B3DBB

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

Color values

HEX#7B3DBB
RGBrgb(123, 61, 187)
HSLhsl(270, 51%, 49%)
HSVhsv(270, 67%, 73%)
CMYKcmyk(34.2%, 67.4%, 0%, 26.7%)
CIE-LABlab(39.81, 50.79, -56.16)
CIE-LCHlch(39.81, 75.72, 312.12°)
OKLaboklab(50.34% 0.1023 -0.1597)
OKLCHoklch(50.34% 0.19 302.6)
XYZxyz(18.8047, 11.1363, 48.1629)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DBB #7DBB3D
analogous
#3D3EBB #7B3DBB #BA3DBB
triadic
#7B3DBB #BB7B3D #3DBB7B
tetradic
#7B3DBB #BB3D3E #7DBB3D #3DBBBA
square
#7B3DBB #BB3D3E #7DBB3D #3DBBBA
split-complementary
#7B3DBB #BBBA3D #3EBB3D
monochromatic
#3E1F5F #5D2E8D #7B3DBB #9A68CE #B996DD

Accessibility & contrast

On white

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

On black

3.23
#7B3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B3DBB#FFFFFF#000000##FFFFFF
##7B3DBB1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#6E5A77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3dbb;
/* rgb */ color: rgb(123, 61, 187);
/* oklch */ color: oklch(50.3% 0.190 302.6);
Tailwind
colors: {
  custom: {
    50: '#a677d0',
    500: '#7b3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dbb;
$custom-light: #a677d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dbb",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 269.524,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.18964,
    "h": 302.6
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#7B3DBB
secondary
#AAC88C
accent
#DA4E95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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