#7B3DB2#7B3DB2

#7B3DB2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.180 H 305.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7B3DB2
RGBrgb(123, 61, 178)
HSLhsl(272, 49%, 47%)
HSVhsv(272, 66%, 70%)
CMYKcmyk(30.9%, 65.7%, 0%, 30.2%)
CIE-LABlab(39.18, 48.61, -51.88)
CIE-LCHlch(39.18, 71.09, 313.14°)
OKLaboklab(49.69% 0.1032 -0.1471)
OKLCHoklch(49.69% 0.18 305.1)
XYZxyz(17.8712, 10.7629, 43.2468)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DB2 #74B23D
analogous
#413DB2 #7B3DB2 #B23DAF
triadic
#7B3DB2 #B27B3D #3DB27B
tetradic
#7B3DB2 #B2413D #74B23D #3DAFB2
square
#7B3DB2 #B2413D #74B23D #3DAFB2
split-complementary
#7B3DB2 #AFB23D #3DB241
monochromatic
#3C1E57 #5C2D84 #7B3DB2 #9963C9 #B790D9

Accessibility & contrast

On white

6.66
#7B3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7B3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3DB2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DB2#FFFFFF#000000##FFFFFF
##7B3DB21.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#715672
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3db2;
/* rgb */ color: rgb(123, 61, 178);
/* oklch */ color: oklch(49.7% 0.180 305.1);
Tailwind
colors: {
  custom: {
    50: '#a577ca',
    500: '#7b3db2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3db2;
$custom-light: #a577ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3db2",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 271.795,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.1797,
    "h": 305.1
  },
  "luminance": 0.10763
}

Semantic roles & 50–950 ramp

primary
#7B3DB2
secondary
#A4C487
accent
#D94F90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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