#7B39B5#7B39B5

#7B39B5 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.188 H 304.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7B39B5
RGBrgb(123, 57, 181)
HSLhsl(272, 52%, 47%)
HSVhsv(272, 69%, 71%)
CMYKcmyk(32%, 68.5%, 0%, 29%)
CIE-LABlab(38.68, 51.29, -54.46)
CIE-LCHlch(38.68, 74.81, 313.28°)
OKLaboklab(49.4% 0.1074 -0.1547)
OKLCHoklch(49.4% 0.188 304.8)
XYZxyz(17.9701, 10.4735, 44.7820)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39B5 #73B539
analogous
#3D39B5 #7B39B5 #B539B1
triadic
#7B39B5 #B57B39 #39B57B
tetradic
#7B39B5 #B53D39 #73B539 #39B1B5
square
#7B39B5 #B53D39 #73B539 #39B1B5
split-complementary
#7B39B5 #B1B539 #39B53D
monochromatic
#3C1C58 #5B2A86 #7B39B5 #995FCD #B78DDB

Accessibility & contrast

On white

6.79
#7B39B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7B39B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39B5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39B5#FFFFFF#000000##FFFFFF
##7B39B51.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#095BB2
Tritanopia (blue-blind)
#705572
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b39b5;
/* rgb */ color: rgb(123, 57, 181);
/* oklch */ color: oklch(49.4% 0.188 304.8);
Tailwind
colors: {
  custom: {
    50: '#a674cc',
    500: '#7b39b5',
    950: '#000000',
  },
}
SCSS
$custom: #7b39b5;
$custom-light: #a674cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39b5",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 271.935,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.18829,
    "h": 304.8
  },
  "luminance": 0.10473
}

Semantic roles & 50–950 ramp

primary
#7B39B5
secondary
#A3C684
accent
#DC4C8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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