#7B3DC7#7B3DC7

#7B3DC7 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.203 H 299.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7B3DC7
RGBrgb(123, 61, 199)
HSLhsl(267, 55%, 51%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(38.2%, 69.3%, 0%, 22%)
CIE-LABlab(40.69, 53.75, -61.75)
CIE-LCHlch(40.69, 81.86, 311.04°)
OKLaboklab(51.25% 0.1006 -0.1761)
OKLCHoklch(51.25% 0.203 299.7)
XYZxyz(20.1434, 11.6718, 55.2134)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B3DC7 #89C73D
analogous
#3D44C7 #7B3DC7 #C03DC7
triadic
#7B3DC7 #C77B3D #3DC77B
tetradic
#7B3DC7 #C73D44 #89C73D #3DC7C0
square
#7B3DC7 #C73D44 #89C73D #3DC7C0
split-complementary
#7B3DC7 #C7C03D #44C73D
monochromatic
#411F6B #5E2D9A #7B3DC7 #9B6CD5 #BC9CE2

Accessibility & contrast

On white

6.30
#7B3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B3DC7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B3DC7#FFFFFF#000000##FFFFFF
##7B3DC71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#6A5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b3dc7;
/* rgb */ color: rgb(123, 61, 199);
/* oklch */ color: oklch(51.2% 0.203 299.7);
Tailwind
colors: {
  custom: {
    50: '#a777d9',
    500: '#7b3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #7b3dc7;
$custom-light: #a777d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b3dc7",
  "rgb": {
    "r": 123,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 266.957,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.20281,
    "h": 299.7
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#7B3DC7
secondary
#B3CE91
accent
#DF499B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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