#7B3DB6#7B3DB6

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

Color values

HEX#7B3DB6
RGBrgb(123, 61, 182)
HSLhsl(271, 50%, 48%)
HSVhsv(271, 66%, 71%)
CMYKcmyk(32.4%, 66.5%, 0%, 28.6%)
CIE-LABlab(39.46, 49.57, -53.79)
CIE-LCHlch(39.46, 73.15, 312.66°)
OKLaboklab(49.97% 0.1029 -0.1527)
OKLCHoklch(49.97% 0.184 304)
XYZxyz(18.2787, 10.9259, 45.3928)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DB6 #78B63D
analogous
#3F3DB6 #7B3DB6 #B63DB4
triadic
#7B3DB6 #B67B3D #3DB67B
tetradic
#7B3DB6 #B63F3D #78B63D #3DB4B6
square
#7B3DB6 #B63F3D #78B63D #3DB4B6
split-complementary
#7B3DB6 #B4B63D #3DB63F
monochromatic
#3D1E5A #5C2E88 #7B3DB6 #9965CB #B893DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B3DB6#FFFFFF#000000##FFFFFF
##7B3DB61.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)
#005BBA
Deuteranopia (green-blind)
#125DB3
Tritanopia (blue-blind)
#705874
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b3db6;
/* rgb */ color: rgb(123, 61, 182);
/* oklch */ color: oklch(50.0% 0.184 304.0);
Tailwind
colors: {
  custom: {
    50: '#a677cd',
    500: '#7b3db6',
    950: '#000000',
  },
}
SCSS
$custom: #7b3db6;
$custom-light: #a677cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3db6",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 270.744,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.18412,
    "h": 304
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#7B3DB6
secondary
#A7C689
accent
#D94E92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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