#7B3BCA#7B3BCA

#7B3BCA is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.208 H 299.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7B3BCA
RGBrgb(123, 59, 202)
HSLhsl(267, 57%, 51%)
HSVhsv(267, 71%, 79%)
CMYKcmyk(39.1%, 70.8%, 0%, 20.8%)
CIE-LABlab(40.58, 55.45, -63.67)
CIE-LCHlch(40.58, 84.43, 311.05°)
OKLaboklab(51.24% 0.1021 -0.1817)
OKLCHoklch(51.24% 0.208 299.3)
XYZxyz(20.3903, 11.6029, 57.0310)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BCA #8ACA3B
analogous
#3B42CA #7B3BCA #C23BCA
triadic
#7B3BCA #CA7B3B #3BCA7B
tetradic
#7B3BCA #CA3B42 #8ACA3B #3BCAC2
square
#7B3BCA #CA3B42 #8ACA3B #3BCAC2
split-complementary
#7B3BCA #CAC23B #42CA3B
monochromatic
#411E6D #5E2B9D #7B3BCA #9B6BD7 #BC9BE4

Accessibility & contrast

On white

6.32
#7B3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7B3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BCA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BCA#FFFFFF#000000##FFFFFF
##7B3BCA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#685E7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3bca;
/* rgb */ color: rgb(123, 59, 202);
/* oklch */ color: oklch(51.2% 0.208 299.3);
Tailwind
colors: {
  custom: {
    50: '#a776db',
    500: '#7b3bca',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bca;
$custom-light: #a776db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bca",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 266.853,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51238,
    "c": 0.20844,
    "h": 299.3
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#7B3BCA
secondary
#B4D091
accent
#E1479C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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