#7B3CB4#7B3CB4

#7B3CB4 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.183 H 304.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7B3CB4
RGBrgb(123, 60, 180)
HSLhsl(272, 50%, 47%)
HSVhsv(272, 67%, 71%)
CMYKcmyk(31.7%, 66.7%, 0%, 29.4%)
CIE-LABlab(39.14, 49.59, -53.13)
CIE-LCHlch(39.14, 72.68, 313.02°)
OKLaboklab(49.7% 0.1042 -0.1508)
OKLCHoklch(49.7% 0.183 304.6)
XYZxyz(18.0206, 10.7380, 44.2945)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CB4 #75B43C
analogous
#3F3CB4 #7B3CB4 #B43CB1
triadic
#7B3CB4 #B47B3C #3CB47B
tetradic
#7B3CB4 #B43F3C #75B43C #3CB1B4
square
#7B3CB4 #B43F3C #75B43C #3CB1B4
split-complementary
#7B3CB4 #B1B43C #3CB43F
monochromatic
#3C1D58 #5C2D86 #7B3CB4 #9962CB #B790DA

Accessibility & contrast

On white

6.67
#7B3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7B3CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CB4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CB4#FFFFFF#000000##FFFFFF
##7B3CB41.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#155CB1
Tritanopia (blue-blind)
#715673
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3cb4;
/* rgb */ color: rgb(123, 60, 180);
/* oklch */ color: oklch(49.7% 0.183 304.6);
Tailwind
colors: {
  custom: {
    50: '#a676cb',
    500: '#7b3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cb4;
$custom-light: #a676cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cb4",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 271.5,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.497,
    "c": 0.18325,
    "h": 304.6
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#7B3CB4
secondary
#A4C587
accent
#DA4E90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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