#7B39AE#7B39AE

#7B39AE is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.181 H 306.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7B39AE
RGBrgb(123, 57, 174)
HSLhsl(274, 51%, 45%)
HSVhsv(274, 67%, 68%)
CMYKcmyk(29.3%, 67.2%, 0%, 31.8%)
CIE-LABlab(38.19, 49.63, -51.11)
CIE-LCHlch(38.19, 71.24, 314.16°)
OKLaboklab(48.89% 0.1082 -0.1448)
OKLCHoklch(48.89% 0.181 306.8)
XYZxyz(17.2699, 10.1934, 41.0939)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B39AE #6CAE39
analogous
#4039AE #7B39AE #AE39A6
triadic
#7B39AE #AE7B39 #39AE7B
tetradic
#7B39AE #AE4039 #6CAE39 #39A6AE
square
#7B39AE #AE4039 #6CAE39 #39A6AE
split-complementary
#7B39AE #A6AE39 #39AE40
monochromatic
#3A1B52 #5A2A80 #7B39AE #995BC9 #B689D8

Accessibility & contrast

On white

6.91
#7B39AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7B39AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B39AE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B39AE#FFFFFF#000000##FFFFFF
##7B39AE1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#1C5AAB
Tritanopia (blue-blind)
#73526F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b39ae;
/* rgb */ color: rgb(123, 57, 174);
/* oklch */ color: oklch(48.9% 0.181 306.8);
Tailwind
colors: {
  custom: {
    50: '#a574c7',
    500: '#7b39ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b39ae;
$custom-light: #a574c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b39ae",
  "rgb": {
    "r": 123,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 273.846,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.18075,
    "h": 306.8
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#7B39AE
secondary
#9DC380
accent
#DA4E8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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