#7B39D6#7B39D6

#7B39D6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.223 H 297.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7B39D6
RGBrgb(123, 57, 214)
HSLhsl(265, 66%, 53%)
HSVhsv(265, 73%, 84%)
CMYKcmyk(42.5%, 73.4%, 0%, 16.1%)
CIE-LABlab(41.20, 59.34, -69.58)
CIE-LCHlch(41.20, 91.45, 310.46°)
OKLaboklab(51.98% 0.1015 -0.1991)
OKLCHoklch(51.98% 0.223 297)
XYZxyz(21.7659, 11.9918, 64.7732)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39D6 #94D639
analogous
#3945D6 #7B39D6 #C939D6
triadic
#7B39D6 #D67B39 #39D67B
tetradic
#7B39D6 #D63945 #94D639 #39D6C9
square
#7B39D6 #D63945 #94D639 #39D6C9
split-complementary
#7B39D6 #D6C939 #45D639
monochromatic
#43197B #5E24AE #7B39D6 #9D6CE0 #BF9EEB

Accessibility & contrast

On white

6.18
#7B39D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7B39D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39D6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39D6#FFFFFF#000000##FFFFFF
##7B39D61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#636285
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7b39d6;
/* rgb */ color: rgb(123, 57, 214);
/* oklch */ color: oklch(52.0% 0.223 297.0);
Tailwind
colors: {
  custom: {
    50: '#a976e4',
    500: '#7b39d6',
    950: '#000000',
  },
}
SCSS
$custom: #7b39d6;
$custom-light: #a976e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39d6",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 265.223,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.22345,
    "h": 297
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#7B39D6
secondary
#BBD794
accent
#E93FA1
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7B39D6

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

Preview Lab → · Contrast checker → · Palette generator →

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