#7B39BB#7B39BB

#7B39BB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.8% C 0.195 H 303.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7B39BB
RGBrgb(123, 57, 187)
HSLhsl(270, 53%, 48%)
HSVhsv(270, 70%, 73%)
CMYKcmyk(34.2%, 69.5%, 0%, 26.7%)
CIE-LABlab(39.11, 52.72, -57.29)
CIE-LCHlch(39.11, 77.86, 312.62°)
OKLaboklab(49.84% 0.1066 -0.163)
OKLCHoklch(49.84% 0.195 303.2)
XYZxyz(18.5991, 10.7251, 48.0944)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39BB #79BB39
analogous
#3A39BB #7B39BB #BB39BA
triadic
#7B39BB #BB7B39 #39BB7B
tetradic
#7B39BB #BB3A39 #79BB39 #39BABB
square
#7B39BB #BB3A39 #79BB39 #39BABB
split-complementary
#7B39BB #BABB39 #39BB3A
monochromatic
#3D1C5D #5C2B8C #7B39BB #9962CF #B891DD

Accessibility & contrast

On white

6.68
#7B39BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7B39BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39BB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39BB#FFFFFF#000000##FFFFFF
##7B39BB1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#6E5776
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b39bb;
/* rgb */ color: rgb(123, 57, 187);
/* oklch */ color: oklch(49.8% 0.195 303.2);
Tailwind
colors: {
  custom: {
    50: '#a675d0',
    500: '#7b39bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b39bb;
$custom-light: #a675d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39bb",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 270.462,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49842,
    "c": 0.19472,
    "h": 303.2
  },
  "luminance": 0.10725
}

Semantic roles & 50–950 ramp

primary
#7B39BB
secondary
#A7C887
accent
#DD4B93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7B39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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