#7B3BCD#7B3BCD

#7B3BCD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.212 H 298.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7B3BCD
RGBrgb(123, 59, 205)
HSLhsl(266, 59%, 52%)
HSVhsv(266, 71%, 80%)
CMYKcmyk(40%, 71.2%, 0%, 19.6%)
CIE-LABlab(40.81, 56.19, -65.03)
CIE-LCHlch(40.81, 85.94, 310.83°)
OKLaboklab(51.48% 0.1015 -0.1857)
OKLCHoklch(51.48% 0.212 298.7)
XYZxyz(20.7490, 11.7464, 58.9199)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3BCD #8DCD3B
analogous
#3B44CD #7B3BCD #C43BCD
triadic
#7B3BCD #CD7B3B #3BCD7B
tetradic
#7B3BCD #CD3B44 #8DCD3B #3BCDC4
square
#7B3BCD #CD3B44 #8DCD3B #3BCDC4
split-complementary
#7B3BCD #CDC43B #44CD3B
monochromatic
#421D71 #5E29A2 #7B3BCD #9C6CD9 #BD9DE6

Accessibility & contrast

On white

6.27
#7B3BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7B3BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B3BCD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3BCD#FFFFFF#000000##FFFFFF
##7B3BCD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#675F80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3bcd;
/* rgb */ color: rgb(123, 59, 205);
/* oklch */ color: oklch(51.5% 0.212 298.7);
Tailwind
colors: {
  custom: {
    50: '#a876dd',
    500: '#7b3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7b3bcd;
$custom-light: #a876dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3bcd",
  "rgb": {
    "r": 123,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 266.301,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.21167,
    "h": 298.7
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#7B3BCD
secondary
#B6D292
accent
#E3459E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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