#7B39B7#7B39B7

#7B39B7 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.190 H 304.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7B39B7
RGBrgb(123, 57, 183)
HSLhsl(271, 53%, 47%)
HSVhsv(271, 69%, 72%)
CMYKcmyk(32.8%, 68.9%, 0%, 28.2%)
CIE-LABlab(38.82, 51.76, -55.41)
CIE-LCHlch(38.82, 75.83, 313.05°)
OKLaboklab(49.54% 0.1071 -0.1574)
OKLCHoklch(49.54% 0.19 304.2)
XYZxyz(18.1768, 10.5562, 45.8705)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39B7 #75B739
analogous
#3C39B7 #7B39B7 #B739B4
triadic
#7B39B7 #B77B39 #39B77B
tetradic
#7B39B7 #B73C39 #75B739 #39B4B7
square
#7B39B7 #B73C39 #75B739 #39B4B7
split-complementary
#7B39B7 #B4B739 #39B73C
monochromatic
#3C1C5A #5C2A88 #7B39B7 #9960CD #B78EDC

Accessibility & contrast

On white

6.75
#7B39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7B39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39B7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39B7#FFFFFF#000000##FFFFFF
##7B39B71.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#705674
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b39b7;
/* rgb */ color: rgb(123, 57, 183);
/* oklch */ color: oklch(49.5% 0.190 304.2);
Tailwind
colors: {
  custom: {
    50: '#a674cd',
    500: '#7b39b7',
    950: '#000000',
  },
}
SCSS
$custom: #7b39b7;
$custom-light: #a674cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39b7",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 271.429,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.19043,
    "h": 304.2
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#7B39B7
secondary
#A4C785
accent
#DC4C90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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