#7B3DC6#7B3DC6

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

Color values

HEX#7B3DC6
RGBrgb(123, 61, 198)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(37.9%, 69.2%, 0%, 22.4%)
CIE-LABlab(40.61, 53.50, -61.29)
CIE-LCHlch(40.61, 81.36, 311.12°)
OKLaboklab(51.17% 0.1008 -0.1747)
OKLCHoklch(51.17% 0.202 300)
XYZxyz(20.0276, 11.6255, 54.6039)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DC6 #88C63D
analogous
#3D43C6 #7B3DC6 #BF3DC6
triadic
#7B3DC6 #C67B3D #3DC67B
tetradic
#7B3DC6 #C63D43 #88C63D #3DC6BF
square
#7B3DC6 #C63D43 #88C63D #3DC6BF
split-complementary
#7B3DC6 #C6BF3D #43C63D
monochromatic
#411F6A #5E2D99 #7B3DC6 #9B6CD4 #BB9CE2

Accessibility & contrast

On white

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

On black

3.33
#7B3DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B3DC6#FFFFFF#000000##FFFFFF
##7B3DC61.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#6A5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3dc6;
/* rgb */ color: rgb(123, 61, 198);
/* oklch */ color: oklch(51.2% 0.202 300.0);
Tailwind
colors: {
  custom: {
    50: '#a777d8',
    500: '#7b3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dc6;
$custom-light: #a777d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dc6",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 267.153,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.20172,
    "h": 300
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#7B3DC6
secondary
#B2CE91
accent
#DE4A9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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