#7B3CA1#7B3CA1

#7B3CA1 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.162 H 310.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7B3CA1
RGBrgb(123, 60, 161)
HSLhsl(277, 46%, 43%)
HSVhsv(277, 63%, 63%)
CMYKcmyk(23.6%, 62.7%, 0%, 36.9%)
CIE-LABlab(37.87, 45.11, -43.85)
CIE-LCHlch(37.87, 62.91, 315.81°)
OKLaboklab(48.38% 0.1054 -0.1235)
OKLCHoklch(48.38% 0.162 310.5)
XYZxyz(16.2160, 10.0162, 34.7904)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CA1 #62A13C
analogous
#493CA1 #7B3CA1 #A13C94
triadic
#7B3CA1 #A17B3C #3CA17B
tetradic
#7B3CA1 #A1493C #62A13C #3C94A1
square
#7B3CA1 #A1493C #62A13C #3C94A1
split-complementary
#7B3CA1 #94A13C #3CA149
monochromatic
#371B48 #592B74 #7B3CA1 #9A59C1 #B586D2

Accessibility & contrast

On white

6.99
#7B3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7B3CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CA1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CA1#FFFFFF#000000##FFFFFF
##7B3CA11.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#315A9F
Tritanopia (blue-blind)
#764F69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b3ca1;
/* rgb */ color: rgb(123, 60, 161);
/* oklch */ color: oklch(48.4% 0.162 310.5);
Tailwind
colors: {
  custom: {
    50: '#a475bd',
    500: '#7b3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #7b3ca1;
$custom-light: #a475bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3ca1",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 277.426,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48384,
    "c": 0.16237,
    "h": 310.5
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#7B3CA1
secondary
#95BC7D
accent
#D55284
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7B3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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