#7B3CBB#7B3CBB

#7B3CBB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.191 H 302.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7B3CBB
RGBrgb(123, 60, 187)
HSLhsl(270, 51%, 48%)
HSVhsv(270, 68%, 73%)
CMYKcmyk(34.2%, 67.9%, 0%, 26.7%)
CIE-LABlab(39.63, 51.28, -56.45)
CIE-LCHlch(39.63, 76.27, 312.25°)
OKLaboklab(50.21% 0.1034 -0.1605)
OKLCHoklch(50.21% 0.191 302.8)
XYZxyz(18.7518, 11.0305, 48.1453)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CBB #7CBB3C
analogous
#3C3CBB #7B3CBB #BA3CBB
triadic
#7B3CBB #BB7B3C #3CBB7B
tetradic
#7B3CBB #BB3C3C #7CBB3C #3CBBBA
square
#7B3CBB #BB3C3C #7CBB3C #3CBBBA
split-complementary
#7B3CBB #BBBA3C #3CBB3C
monochromatic
#3E1E5E #5D2D8D #7B3CBB #9A66CE #B895DD

Accessibility & contrast

On white

6.55
#7B3CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3CBB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CBB#FFFFFF#000000##FFFFFF
##7B3CBB1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#6E5977
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3cbb;
/* rgb */ color: rgb(123, 60, 187);
/* oklch */ color: oklch(50.2% 0.191 302.8);
Tailwind
colors: {
  custom: {
    50: '#a676d0',
    500: '#7b3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cbb;
$custom-light: #a676d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cbb",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 269.764,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.19093,
    "h": 302.8
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#7B3CBB
secondary
#AAC88B
accent
#DB4D94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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