#7B3BB8#7B3BB8

#7B3BB8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.189 H 303.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7B3BB8
RGBrgb(123, 59, 184)
HSLhsl(271, 51%, 48%)
HSVhsv(271, 68%, 72%)
CMYKcmyk(33.2%, 67.9%, 0%, 27.8%)
CIE-LABlab(39.24, 51.04, -55.32)
CIE-LCHlch(39.24, 75.27, 312.70°)
OKLaboklab(49.86% 0.1048 -0.1572)
OKLCHoklch(49.86% 0.189 303.7)
XYZxyz(18.3821, 10.7996, 46.4542)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BB8 #78B83B
analogous
#3D3BB8 #7B3BB8 #B83BB6
triadic
#7B3BB8 #B87B3B #3BB87B
tetradic
#7B3BB8 #B83D3B #78B83B #3BB6B8
square
#7B3BB8 #B83D3B #78B83B #3BB6B8
split-complementary
#7B3BB8 #B6B83B #3BB83D
monochromatic
#3D1D5B #5C2C8A #7B3BB8 #9963CD #B892DC

Accessibility & contrast

On white

6.65
#7B3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7B3BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BB8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BB8#FFFFFF#000000##FFFFFF
##7B3BB81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#045CB5
Tritanopia (blue-blind)
#6F5775
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3bb8;
/* rgb */ color: rgb(123, 59, 184);
/* oklch */ color: oklch(49.9% 0.189 303.7);
Tailwind
colors: {
  custom: {
    50: '#a676ce',
    500: '#7b3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bb8;
$custom-light: #a676ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bb8",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 270.72,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.18894,
    "h": 303.7
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#7B3BB8
secondary
#A7C788
accent
#DB4D92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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