#7B3CC1#7B3CC1

#7B3CC1 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.197 H 301.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7B3CC1
RGBrgb(123, 60, 193)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(36.3%, 68.9%, 0%, 24.3%)
CIE-LABlab(40.07, 52.75, -59.26)
CIE-LCHlch(40.07, 79.33, 311.68°)
OKLaboklab(50.66% 0.1026 -0.1688)
OKLCHoklch(50.66% 0.197 301.3)
XYZxyz(19.4076, 11.2928, 51.5990)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CC1 #82C13C
analogous
#3C40C1 #7B3CC1 #BE3CC1
triadic
#7B3CC1 #C17B3C #3CC17B
tetradic
#7B3CC1 #C13C40 #82C13C #3CC1BE
square
#7B3CC1 #C13C40 #82C13C #3CC1BE
split-complementary
#7B3CC1 #C1BE3C #40C13C
monochromatic
#3F1F64 #5D2D92 #7B3CC1 #9A6AD1 #BA98DF

Accessibility & contrast

On white

6.44
#7B3CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7B3CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CC1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CC1#FFFFFF#000000##FFFFFF
##7B3CC11.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#6C5B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3cc1;
/* rgb */ color: rgb(123, 60, 193);
/* oklch */ color: oklch(50.7% 0.197 301.3);
Tailwind
colors: {
  custom: {
    50: '#a776d5',
    500: '#7b3cc1',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cc1;
$custom-light: #a776d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cc1",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 268.421,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.19748,
    "h": 301.3
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#7B3CC1
secondary
#AECB8E
accent
#DC4C98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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