#7B39C4#7B39C4

#7B39C4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.204 H 301.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7B39C4
RGBrgb(123, 57, 196)
HSLhsl(268, 55%, 50%)
HSVhsv(268, 71%, 77%)
CMYKcmyk(37.2%, 70.9%, 0%, 23.1%)
CIE-LABlab(39.79, 54.91, -61.47)
CIE-LCHlch(39.79, 82.42, 311.77°)
OKLaboklab(50.53% 0.1051 -0.1753)
OKLCHoklch(50.53% 0.204 301)
XYZxyz(19.5929, 11.1226, 53.3285)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39C4 #82C439
analogous
#393DC4 #7B39C4 #C139C4
triadic
#7B39C4 #C47B39 #39C47B
tetradic
#7B39C4 #C4393D #82C439 #39C4C1
square
#7B39C4 #C4393D #82C439 #39C4C1
split-complementary
#7B39C4 #C4C139 #3DC439
monochromatic
#3F1D65 #5D2B95 #7B39C4 #9A67D3 #BA97E1

Accessibility & contrast

On white

6.51
#7B39C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7B39C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39C4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39C4#FFFFFF#000000##FFFFFF
##7B39C41.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#6B5B7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b39c4;
/* rgb */ color: rgb(123, 57, 196);
/* oklch */ color: oklch(50.5% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#a775d7',
    500: '#7b39c4',
    950: '#000000',
  },
}
SCSS
$custom: #7b39c4;
$custom-light: #a775d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39c4",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 268.489,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.20436,
    "h": 301
  },
  "luminance": 0.11123
}

Semantic roles & 50–950 ramp

primary
#7B39C4
secondary
#AECC8D
accent
#DE4A98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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