#7B3BD4#7B3BD4

#7B3BD4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.219 H 297.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7B3BD4
RGBrgb(123, 59, 212)
HSLhsl(265, 64%, 53%)
HSVhsv(265, 72%, 83%)
CMYKcmyk(42%, 72.2%, 0%, 16.9%)
CIE-LABlab(41.36, 57.93, -68.17)
CIE-LCHlch(41.36, 89.46, 310.36°)
OKLaboklab(52.04% 0.1001 -0.195)
OKLCHoklch(52.04% 0.219 297.2)
XYZxyz(21.6129, 12.0919, 63.4699)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BD4 #94D43B
analogous
#3B47D4 #7B3BD4 #C73BD4
triadic
#7B3BD4 #D47B3B #3BD47B
tetradic
#7B3BD4 #D43B47 #94D43B #3BD4C7
square
#7B3BD4 #D43B47 #94D43B #3BD4C7
split-complementary
#7B3BD4 #D4C73B #47D43B
monochromatic
#431B7A #5E26AC #7B3BD4 #9D6DDF #BF9FEA

Accessibility & contrast

On white

6.14
#7B3BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7B3BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BD4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BD4#FFFFFF#000000##FFFFFF
##7B3BD41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#646284
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b3bd4;
/* rgb */ color: rgb(123, 59, 212);
/* oklch */ color: oklch(52.0% 0.219 297.2);
Tailwind
colors: {
  custom: {
    50: '#a877e2',
    500: '#7b3bd4',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bd4;
$custom-light: #a877e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bd4",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 265.098,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.21917,
    "h": 297.2
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#7B3BD4
secondary
#BBD694
accent
#E741A1
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7B3BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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