#7B3CA4#7B3CA4

#7B3CA4 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.166 H 309.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7B3CA4
RGBrgb(123, 60, 164)
HSLhsl(276, 46%, 44%)
HSVhsv(276, 63%, 64%)
CMYKcmyk(25%, 63.4%, 0%, 35.7%)
CIE-LABlab(38.06, 45.80, -45.34)
CIE-LCHlch(38.06, 64.45, 315.29°)
OKLaboklab(48.58% 0.1053 -0.1279)
OKLCHoklch(48.58% 0.166 309.5)
XYZxyz(16.4838, 10.1233, 36.2004)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CA4 #65A43C
analogous
#473CA4 #7B3CA4 #A43C99
triadic
#7B3CA4 #A47B3C #3CA47B
tetradic
#7B3CA4 #A4473C #65A43C #3C99A4
square
#7B3CA4 #A4473C #65A43C #3C99A4
split-complementary
#7B3CA4 #99A43C #3CA447
monochromatic
#381B4A #592C77 #7B3CA4 #9A5AC3 #B587D3

Accessibility & contrast

On white

6.94
#7B3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7B3CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CA4
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CA4#FFFFFF#000000##FFFFFF
##7B3CA41.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A7
Deuteranopia (green-blind)
#2E5BA2
Tritanopia (blue-blind)
#75516A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b3ca4;
/* rgb */ color: rgb(123, 60, 164);
/* oklch */ color: oklch(48.6% 0.166 309.5);
Tailwind
colors: {
  custom: {
    50: '#a475bf',
    500: '#7b3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ca4;
$custom-light: #a475bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ca4",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 276.346,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.16567,
    "h": 309.5
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#7B3CA4
secondary
#97BD7E
accent
#D65286
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7B3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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