#7B3CA3#7B3CA3

#7B3CA3 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.165 H 309.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7B3CA3
RGBrgb(123, 60, 163)
HSLhsl(277, 46%, 44%)
HSVhsv(277, 63%, 64%)
CMYKcmyk(24.5%, 63.2%, 0%, 36.1%)
CIE-LABlab(38.00, 45.57, -44.84)
CIE-LCHlch(38.00, 63.94, 315.46°)
OKLaboklab(48.52% 0.1053 -0.1264)
OKLCHoklch(48.52% 0.165 309.8)
XYZxyz(16.3938, 10.0873, 35.7267)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CA3 #64A33C
analogous
#473CA3 #7B3CA3 #A33C97
triadic
#7B3CA3 #A37B3C #3CA37B
tetradic
#7B3CA3 #A3473C #64A33C #3C97A3
square
#7B3CA3 #A3473C #64A33C #3C97A3
split-complementary
#7B3CA3 #97A33C #3CA347
monochromatic
#371B4A #592C76 #7B3CA3 #9A5AC2 #B587D3

Accessibility & contrast

On white

6.96
#7B3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3CA3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CA3#FFFFFF#000000##FFFFFF
##7B3CA31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A6
Deuteranopia (green-blind)
#2F5AA1
Tritanopia (blue-blind)
#76506A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b3ca3;
/* rgb */ color: rgb(123, 60, 163);
/* oklch */ color: oklch(48.5% 0.165 309.8);
Tailwind
colors: {
  custom: {
    50: '#a475bf',
    500: '#7b3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ca3;
$custom-light: #a475bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ca3",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 276.699,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.16456,
    "h": 309.8
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#7B3CA3
secondary
#96BD7E
accent
#D65285
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7B3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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