#7B37BC#7B37BC

#7B37BC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.7% C 0.198 H 303.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7B37BC
RGBrgb(123, 55, 188)
HSLhsl(271, 55%, 48%)
HSVhsv(271, 71%, 74%)
CMYKcmyk(34.6%, 70.7%, 0%, 26.3%)
CIE-LABlab(38.85, 53.90, -58.30)
CIE-LCHlch(38.85, 79.40, 312.75°)
OKLaboklab(49.68% 0.1085 -0.1659)
OKLCHoklch(49.68% 0.198 303.2)
XYZxyz(18.6096, 10.5742, 48.6278)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37BC #78BC37
analogous
#3937BC #7B37BC #BC37BA
triadic
#7B37BC #BC7B37 #37BC7B
tetradic
#7B37BC #BC3937 #78BC37 #37BABC
square
#7B37BC #BC3937 #78BC37 #37BABC
split-complementary
#7B37BC #BABC37 #37BC39
monochromatic
#3D1B5D #5C298D #7B37BC #9960D0 #B88FDE

Accessibility & contrast

On white

6.74
#7B37BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7B37BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37BC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37BC#FFFFFF#000000##FFFFFF
##7B37BC1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#6E5776
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b37bc;
/* rgb */ color: rgb(123, 55, 188);
/* oklch */ color: oklch(49.7% 0.198 303.2);
Tailwind
colors: {
  custom: {
    50: '#a673d1',
    500: '#7b37bc',
    950: '#000000',
  },
}
SCSS
$custom: #7b37bc;
$custom-light: #a673d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37bc",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 270.677,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.19824,
    "h": 303.2
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#7B37BC
secondary
#A7C986
accent
#DE4A92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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