#7B39C3#7B39C3

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

Color values

HEX#7B39C3
RGBrgb(123, 57, 195)
HSLhsl(269, 55%, 49%)
HSVhsv(269, 71%, 76%)
CMYKcmyk(36.9%, 70.8%, 0%, 23.5%)
CIE-LABlab(39.71, 54.66, -61.01)
CIE-LCHlch(39.71, 81.91, 311.86°)
OKLaboklab(50.45% 0.1053 -0.1739)
OKLCHoklch(50.45% 0.203 301.2)
XYZxyz(19.4794, 11.0772, 52.7310)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39C3 #81C339
analogous
#393CC3 #7B39C3 #C039C3
triadic
#7B39C3 #C37B39 #39C37B
tetradic
#7B39C3 #C3393C #81C339 #39C3C0
square
#7B39C3 #C3393C #81C339 #39C3C0
split-complementary
#7B39C3 #C3C039 #3CC339
monochromatic
#3F1D64 #5D2B94 #7B39C3 #9A67D2 #BA96E0

Accessibility & contrast

On white

6.53
#7B39C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B39C3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39C3#FFFFFF#000000##FFFFFF
##7B39C31.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#6B5A7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b39c3;
/* rgb */ color: rgb(123, 57, 195);
/* oklch */ color: oklch(50.5% 0.203 301.2);
Tailwind
colors: {
  custom: {
    50: '#a775d6',
    500: '#7b39c3',
    950: '#000000',
  },
}
SCSS
$custom: #7b39c3;
$custom-light: #a775d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39c3",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 268.696,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.20329,
    "h": 301.2
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#7B39C3
secondary
#ADCC8C
accent
#DE4A97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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