#7B39BA#7B39BA

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

Color values

HEX#7B39BA
RGBrgb(123, 57, 186)
HSLhsl(271, 53%, 48%)
HSVhsv(271, 69%, 73%)
CMYKcmyk(33.9%, 69.4%, 0%, 27.1%)
CIE-LABlab(39.04, 52.48, -56.82)
CIE-LCHlch(39.04, 77.35, 312.73°)
OKLaboklab(49.77% 0.1067 -0.1616)
OKLCHoklch(49.77% 0.194 303.4)
XYZxyz(18.4924, 10.6824, 47.5325)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39BA #78BA39
analogous
#3B39BA #7B39BA #BA39B8
triadic
#7B39BA #BA7B39 #39BA7B
tetradic
#7B39BA #BA3B39 #78BA39 #39B8BA
square
#7B39BA #BA3B39 #78BA39 #39B8BA
split-complementary
#7B39BA #B8BA39 #39BA3B
monochromatic
#3D1C5C #5C2B8B #7B39BA #9961CF #B890DD

Accessibility & contrast

On white

6.70
#7B39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7B39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39BA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39BA#FFFFFF#000000##FFFFFF
##7B39BA1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#6F5775
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b39ba;
/* rgb */ color: rgb(123, 57, 186);
/* oklch */ color: oklch(49.8% 0.194 303.4);
Tailwind
colors: {
  custom: {
    50: '#a674d0',
    500: '#7b39ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b39ba;
$custom-light: #a674d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39ba",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 270.698,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49767,
    "c": 0.19365,
    "h": 303.4
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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