#7B39BD#7B39BD

#7B39BD is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.197 H 302.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7B39BD
RGBrgb(123, 57, 189)
HSLhsl(270, 54%, 48%)
HSVhsv(270, 70%, 74%)
CMYKcmyk(34.9%, 69.8%, 0%, 25.9%)
CIE-LABlab(39.26, 53.21, -58.23)
CIE-LCHlch(39.26, 78.88, 312.42°)
OKLaboklab(49.99% 0.1063 -0.1657)
OKLCHoklch(49.99% 0.197 302.7)
XYZxyz(18.8147, 10.8113, 49.2298)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39BD #7BBD39
analogous
#3939BD #7B39BD #BD39BD
triadic
#7B39BD #BD7B39 #39BD7B
tetradic
#7B39BD #BD3939 #7BBD39 #39BDBD
square
#7B39BD #BD3939 #7BBD39 #39BDBD
split-complementary
#7B39BD #BDBD39 #39BD39
monochromatic
#3E1D5F #5C2B8E #7B39BD #9A63D0 #B892DE

Accessibility & contrast

On white

6.64
#7B39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7B39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39BD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39BD#FFFFFF#000000##FFFFFF
##7B39BD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#6E5877
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b39bd;
/* rgb */ color: rgb(123, 57, 189);
/* oklch */ color: oklch(50.0% 0.197 302.7);
Tailwind
colors: {
  custom: {
    50: '#a675d2',
    500: '#7b39bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b39bd;
$custom-light: #a675d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39bd",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 270,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49993,
    "c": 0.19687,
    "h": 302.7
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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