#7B3CBE#7B3CBE

#7B3CBE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.194 H 302.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7B3CBE
RGBrgb(123, 60, 190)
HSLhsl(269, 52%, 49%)
HSVhsv(269, 68%, 75%)
CMYKcmyk(35.3%, 68.4%, 0%, 25.5%)
CIE-LABlab(39.85, 52.02, -57.86)
CIE-LCHlch(39.85, 77.80, 311.96°)
OKLaboklab(50.44% 0.103 -0.1647)
OKLCHoklch(50.44% 0.194 302)
XYZxyz(19.0763, 11.1603, 49.8544)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3CBE #7FBE3C
analogous
#3C3EBE #7B3CBE #BC3CBE
triadic
#7B3CBE #BE7B3C #3CBE7B
tetradic
#7B3CBE #BE3C3E #7FBE3C #3CBEBC
square
#7B3CBE #BE3C3E #7FBE3C #3CBEBC
split-complementary
#7B3CBE #BEBC3C #3EBE3C
monochromatic
#3F1F61 #5D2D8F #7B3CBE #9A68CF #B996DE

Accessibility & contrast

On white

6.50
#7B3CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7B3CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3CBE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3CBE#FFFFFF#000000##FFFFFF
##7B3CBE1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#6D5A78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b3cbe;
/* rgb */ color: rgb(123, 60, 190);
/* oklch */ color: oklch(50.4% 0.194 302.0);
Tailwind
colors: {
  custom: {
    50: '#a676d2',
    500: '#7b3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b3cbe;
$custom-light: #a676d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3cbe",
  "rgb": {
    "r": 123,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 269.077,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.19421,
    "h": 302
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#7B3CBE
secondary
#ACCA8C
accent
#DB4C96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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