#7B37C6#7B37C6

#7B37C6 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.209 H 300.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7B37C6
RGBrgb(123, 55, 198)
HSLhsl(269, 57%, 50%)
HSVhsv(269, 72%, 78%)
CMYKcmyk(37.9%, 72.2%, 0%, 22.4%)
CIE-LABlab(39.61, 56.31, -62.91)
CIE-LCHlch(39.61, 84.43, 311.83°)
OKLaboklab(50.46% 0.1067 -0.1795)
OKLCHoklch(50.46% 0.209 300.7)
XYZxyz(19.7251, 11.0204, 54.5031)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37C6 #82C637
analogous
#373BC6 #7B37C6 #C237C6
triadic
#7B37C6 #C67B37 #37C67B
tetradic
#7B37C6 #C6373B #82C637 #37C6C2
square
#7B37C6 #C6373B #82C637 #37C6C2
split-complementary
#7B37C6 #C6C237 #3BC637
monochromatic
#3F1C66 #5D2A96 #7B37C6 #9A66D4 #BA96E2

Accessibility & contrast

On white

6.55
#7B37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7B37C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37C6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37C6#FFFFFF#000000##FFFFFF
##7B37C61.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#6A5A7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b37c6;
/* rgb */ color: rgb(123, 55, 198);
/* oklch */ color: oklch(50.5% 0.209 300.7);
Tailwind
colors: {
  custom: {
    50: '#a774d8',
    500: '#7b37c6',
    950: '#000000',
  },
}
SCSS
$custom: #7b37c6;
$custom-light: #a774d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37c6",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 268.531,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.20879,
    "h": 300.7
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#7B37C6
secondary
#AECD8C
accent
#E04898
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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