#7B39BE#7B39BE

#7B39BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.198 H 302.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7B39BE
RGBrgb(123, 57, 190)
HSLhsl(270, 54%, 48%)
HSVhsv(270, 70%, 75%)
CMYKcmyk(35.3%, 70%, 0%, 25.5%)
CIE-LABlab(39.34, 53.45, -58.69)
CIE-LCHlch(39.34, 79.38, 312.32°)
OKLaboklab(50.07% 0.1061 -0.1671)
OKLCHoklch(50.07% 0.198 302.4)
XYZxyz(18.9236, 10.8549, 49.8035)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39BE #7CBE39
analogous
#393ABE #7B39BE #BD39BE
triadic
#7B39BE #BE7B39 #39BE7B
tetradic
#7B39BE #BE393A #7CBE39 #39BEBD
square
#7B39BE #BE393A #7CBE39 #39BEBD
split-complementary
#7B39BE #BEBD39 #3ABE39
monochromatic
#3E1D60 #5D2B8F #7B39BE #9A64D0 #B893DF

Accessibility & contrast

On white

6.62
#7B39BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7B39BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39BE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39BE#FFFFFF#000000##FFFFFF
##7B39BE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#6D5877
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b39be;
/* rgb */ color: rgb(123, 57, 190);
/* oklch */ color: oklch(50.1% 0.198 302.4);
Tailwind
colors: {
  custom: {
    50: '#a775d2',
    500: '#7b39be',
    950: '#000000',
  },
}
SCSS
$custom: #7b39be;
$custom-light: #a775d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39be",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 269.774,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.19794,
    "h": 302.4
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#7B39BE
secondary
#AACA89
accent
#DD4B94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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