#7B3CB3#7B3CB3

#7B3CB3 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.182 H 304.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7B3CB3
RGBrgb(123, 60, 179)
HSLhsl(272, 50%, 47%)
HSVhsv(272, 66%, 70%)
CMYKcmyk(31.3%, 66.5%, 0%, 29.8%)
CIE-LABlab(39.07, 49.35, -52.65)
CIE-LCHlch(39.07, 72.16, 313.14°)
OKLaboklab(49.63% 0.1043 -0.1494)
OKLCHoklch(49.63% 0.182 304.9)
XYZxyz(17.9191, 10.6974, 43.7599)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CB3 #74B33C
analogous
#403CB3 #7B3CB3 #B33CB0
triadic
#7B3CB3 #B37B3C #3CB37B
tetradic
#7B3CB3 #B3403C #74B33C #3CB0B3
square
#7B3CB3 #B3403C #74B33C #3CB0B3
split-complementary
#7B3CB3 #B0B33C #3CB340
monochromatic
#3C1D57 #5C2D85 #7B3CB3 #9962CA #B790DA

Accessibility & contrast

On white

6.69
#7B3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7B3CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CB3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CB3#FFFFFF#000000##FFFFFF
##7B3CB31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#715672
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b3cb3;
/* rgb */ color: rgb(123, 60, 179);
/* oklch */ color: oklch(49.6% 0.182 304.9);
Tailwind
colors: {
  custom: {
    50: '#a576ca',
    500: '#7b3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cb3;
$custom-light: #a576ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cb3",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 271.765,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49627,
    "c": 0.18216,
    "h": 304.9
  },
  "luminance": 0.10697
}

Semantic roles & 50–950 ramp

primary
#7B3CB3
secondary
#A4C586
accent
#D94E90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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