#7B3CC3#7B3CC3

#7B3CC3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.200 H 300.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7B3CC3
RGBrgb(123, 60, 195)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(36.9%, 69.2%, 0%, 23.5%)
CIE-LABlab(40.22, 53.24, -60.18)
CIE-LCHlch(40.22, 80.35, 311.50°)
OKLaboklab(50.82% 0.1022 -0.1715)
OKLCHoklch(50.82% 0.2 300.8)
XYZxyz(19.6322, 11.3827, 52.7819)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CC3 #84C33C
analogous
#3C41C3 #7B3CC3 #BE3CC3
triadic
#7B3CC3 #C37B3C #3CC37B
tetradic
#7B3CC3 #C33C41 #84C33C #3CC3BE
square
#7B3CC3 #C33C41 #84C33C #3CC3BE
split-complementary
#7B3CC3 #C3BE3C #41C33C
monochromatic
#401F65 #5D2E94 #7B3CC3 #9B6BD1 #BA9AE0

Accessibility & contrast

On white

6.41
#7B3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7B3CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CC3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CC3#FFFFFF#000000##FFFFFF
##7B3CC31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#6B5C7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3cc3;
/* rgb */ color: rgb(123, 60, 195);
/* oklch */ color: oklch(50.8% 0.200 300.8);
Tailwind
colors: {
  custom: {
    50: '#a776d6',
    500: '#7b3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cc3;
$custom-light: #a776d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cc3",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 268,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.19967,
    "h": 300.8
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#7B3CC3
secondary
#AFCC8F
accent
#DC4B99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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