#7B3BB9#7B3BB9

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

Color values

HEX#7B3BB9
RGBrgb(123, 59, 185)
HSLhsl(270, 52%, 48%)
HSVhsv(270, 68%, 73%)
CMYKcmyk(33.5%, 68.1%, 0%, 27.5%)
CIE-LABlab(39.31, 51.28, -55.79)
CIE-LCHlch(39.31, 75.78, 312.59°)
OKLaboklab(49.94% 0.1047 -0.1586)
OKLCHoklch(49.94% 0.19 303.4)
XYZxyz(18.4873, 10.8417, 47.0082)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BB9 #79B93B
analogous
#3C3BB9 #7B3BB9 #B93BB8
triadic
#7B3BB9 #B97B3B #3BB97B
tetradic
#7B3BB9 #B93C3B #79B93B #3BB8B9
square
#7B3BB9 #B93C3B #79B93B #3BB8B9
split-complementary
#7B3BB9 #B8B93B #3BB93C
monochromatic
#3D1D5C #5C2C8B #7B3BB9 #9964CD #B892DC

Accessibility & contrast

On white

6.63
#7B3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7B3BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BB9
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BB9#FFFFFF#000000##FFFFFF
##7B3BB91.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#6F5875
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3bb9;
/* rgb */ color: rgb(123, 59, 185);
/* oklch */ color: oklch(49.9% 0.190 303.4);
Tailwind
colors: {
  custom: {
    50: '#a676cf',
    500: '#7b3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bb9;
$custom-light: #a676cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bb9",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 270.476,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.19003,
    "h": 303.4
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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