#7B3BBB#7B3BBB

#7B3BBB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.192 H 302.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7B3BBB
RGBrgb(123, 59, 187)
HSLhsl(270, 52%, 48%)
HSVhsv(270, 68%, 73%)
CMYKcmyk(34.2%, 68.4%, 0%, 26.7%)
CIE-LABlab(39.46, 51.77, -56.73)
CIE-LCHlch(39.46, 76.80, 312.38°)
OKLaboklab(50.09% 0.1045 -0.1613)
OKLCHoklch(50.09% 0.192 302.9)
XYZxyz(18.6999, 10.9267, 48.1280)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BBB #7BBB3B
analogous
#3B3BBB #7B3BBB #BB3BBB
triadic
#7B3BBB #BB7B3B #3BBB7B
tetradic
#7B3BBB #BB3B3B #7BBB3B #3BBBBB
square
#7B3BBB #BB3B3B #7BBB3B #3BBBBB
split-complementary
#7B3BBB #BBBB3B #3BBB3B
monochromatic
#3E1E5E #5C2C8C #7B3BBB #9A65CE #B893DD

Accessibility & contrast

On white

6.59
#7B3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7B3BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BBB
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BBB#FFFFFF#000000##FFFFFF
##7B3BBB1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b3bbb;
/* rgb */ color: rgb(123, 59, 187);
/* oklch */ color: oklch(50.1% 0.192 302.9);
Tailwind
colors: {
  custom: {
    50: '#a676d0',
    500: '#7b3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bbb;
$custom-light: #a676d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bbb",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.19221,
    "h": 302.9
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#7B3BBB
secondary
#A9C88A
accent
#DB4C94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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