#7B39BF#7B39BF

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

Color values

HEX#7B39BF
RGBrgb(123, 57, 191)
HSLhsl(270, 54%, 49%)
HSVhsv(270, 70%, 75%)
CMYKcmyk(35.6%, 70.2%, 0%, 25.1%)
CIE-LABlab(39.41, 53.69, -59.16)
CIE-LCHlch(39.41, 79.89, 312.23°)
OKLaboklab(50.15% 0.106 -0.1685)
OKLCHoklch(50.15% 0.199 302.2)
XYZxyz(19.0332, 10.8987, 50.3810)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39BF #7DBF39
analogous
#393ABF #7B39BF #BE39BF
triadic
#7B39BF #BF7B39 #39BF7B
tetradic
#7B39BF #BF393A #7DBF39 #39BFBE
square
#7B39BF #BF393A #7DBF39 #39BFBE
split-complementary
#7B39BF #BFBE39 #3ABF39
monochromatic
#3E1D61 #5D2B90 #7B39BF #9A64D1 #B993DF

Accessibility & contrast

On white

6.60
#7B39BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7B39BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39BF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39BF#FFFFFF#000000##FFFFFF
##7B39BF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#6D5978
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b39bf;
/* rgb */ color: rgb(123, 57, 191);
/* oklch */ color: oklch(50.1% 0.199 302.2);
Tailwind
colors: {
  custom: {
    50: '#a775d3',
    500: '#7b39bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b39bf;
$custom-light: #a775d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39bf",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 269.552,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.19902,
    "h": 302.2
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#7B39BF
secondary
#AACA8A
accent
#DD4A95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7B39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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