#7B3CC2#7B3CC2

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

Color values

HEX#7B3CC2
RGBrgb(123, 60, 194)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(36.6%, 69.1%, 0%, 23.9%)
CIE-LABlab(40.14, 53.00, -59.72)
CIE-LCHlch(40.14, 79.84, 311.59°)
OKLaboklab(50.74% 0.1024 -0.1701)
OKLCHoklch(50.74% 0.199 301)
XYZxyz(19.5195, 11.3376, 52.1885)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CC2 #83C23C
analogous
#3C40C2 #7B3CC2 #BE3CC2
triadic
#7B3CC2 #C27B3C #3CC27B
tetradic
#7B3CC2 #C23C40 #83C23C #3CC2BE
square
#7B3CC2 #C23C40 #83C23C #3CC2BE
split-complementary
#7B3CC2 #C2BE3C #40C23C
monochromatic
#401F65 #5D2E93 #7B3CC2 #9B6AD1 #BA99DF

Accessibility & contrast

On white

6.43
#7B3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7B3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CC2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CC2#FFFFFF#000000##FFFFFF
##7B3CC21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#6C5C7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b3cc2;
/* rgb */ color: rgb(123, 60, 194);
/* oklch */ color: oklch(50.7% 0.199 301.0);
Tailwind
colors: {
  custom: {
    50: '#a776d5',
    500: '#7b3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cc2;
$custom-light: #a776d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cc2",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 268.209,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50739,
    "c": 0.19858,
    "h": 301
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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