#7B37BA#7B37BA

#7B37BA is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.196 H 303.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7B37BA
RGBrgb(123, 55, 186)
HSLhsl(271, 54%, 47%)
HSVhsv(271, 70%, 73%)
CMYKcmyk(33.9%, 70.4%, 0%, 27.1%)
CIE-LABlab(38.71, 53.42, -57.37)
CIE-LCHlch(38.71, 78.39, 312.96°)
OKLaboklab(49.53% 0.1088 -0.1632)
OKLCHoklch(49.53% 0.196 303.7)
XYZxyz(18.3955, 10.4885, 47.5002)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37BA #76BA37
analogous
#3937BA #7B37BA #BA37B8
triadic
#7B37BA #BA7B37 #37BA7B
tetradic
#7B37BA #BA3937 #76BA37 #37B8BA
square
#7B37BA #BA3937 #76BA37 #37B8BA
split-complementary
#7B37BA #B8BA37 #37BA39
monochromatic
#3D1B5C #5C298B #7B37BA #995FD0 #B78EDE

Accessibility & contrast

On white

6.78
#7B37BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7B37BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37BA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37BA#FFFFFF#000000##FFFFFF
##7B37BA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#6F5675
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b37ba;
/* rgb */ color: rgb(123, 55, 186);
/* oklch */ color: oklch(49.5% 0.196 303.7);
Tailwind
colors: {
  custom: {
    50: '#a673d0',
    500: '#7b37ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b37ba;
$custom-light: #a673d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37ba",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 271.145,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49528,
    "c": 0.19613,
    "h": 303.7
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#7B37BA
secondary
#A5C885
accent
#DE4A91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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