#7B3CB5#7B3CB5

#7B3CB5 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.184 H 304.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7B3CB5
RGBrgb(123, 60, 181)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 67%, 71%)
CMYKcmyk(32%, 66.9%, 0%, 29%)
CIE-LABlab(39.21, 49.83, -53.61)
CIE-LCHlch(39.21, 73.19, 312.91°)
OKLaboklab(49.77% 0.1041 -0.1522)
OKLCHoklch(49.77% 0.184 304.4)
XYZxyz(18.1228, 10.7789, 44.8329)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CB5 #76B53C
analogous
#3F3CB5 #7B3CB5 #B53CB2
triadic
#7B3CB5 #B57B3C #3CB57B
tetradic
#7B3CB5 #B53F3C #76B53C #3CB2B5
square
#7B3CB5 #B53F3C #76B53C #3CB2B5
split-complementary
#7B3CB5 #B2B53C #3CB53F
monochromatic
#3D1E59 #5C2D87 #7B3CB5 #9963CB #B791DB

Accessibility & contrast

On white

6.65
#7B3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7B3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CB5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CB5#FFFFFF#000000##FFFFFF
##7B3CB51.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#135CB2
Tritanopia (blue-blind)
#705773
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3cb5;
/* rgb */ color: rgb(123, 60, 181);
/* oklch */ color: oklch(49.8% 0.184 304.4);
Tailwind
colors: {
  custom: {
    50: '#a676cc',
    500: '#7b3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cb5;
$custom-light: #a676cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cb5",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 271.24,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.18436,
    "h": 304.4
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#7B3CB5
secondary
#A5C687
accent
#DA4E91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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