#7B37C0#7B37C0

#7B37C0 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.202 H 302.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7B37C0
RGBrgb(123, 55, 192)
HSLhsl(270, 55%, 48%)
HSVhsv(270, 71%, 75%)
CMYKcmyk(35.9%, 71.4%, 0%, 24.7%)
CIE-LABlab(39.15, 54.86, -60.16)
CIE-LCHlch(39.15, 81.41, 312.36°)
OKLaboklab(49.99% 0.1078 -0.1714)
OKLCHoklch(49.99% 0.202 302.2)
XYZxyz(19.0467, 10.7490, 50.9303)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37C0 #7CC037
analogous
#3737C0 #7B37C0 #BF37C0
triadic
#7B37C0 #C07B37 #37C07B
tetradic
#7B37C0 #C03737 #7CC037 #37C0BF
square
#7B37C0 #C03737 #7CC037 #37C0BF
split-complementary
#7B37C0 #C0BF37 #37C037
monochromatic
#3E1C61 #5D2990 #7B37C0 #9A62D2 #B892E0

Accessibility & contrast

On white

6.67
#7B37C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7B37C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37C0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37C0#FFFFFF#000000##FFFFFF
##7B37C01.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#6D5878
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b37c0;
/* rgb */ color: rgb(123, 55, 192);
/* oklch */ color: oklch(50.0% 0.202 302.2);
Tailwind
colors: {
  custom: {
    50: '#a774d4',
    500: '#7b37c0',
    950: '#000000',
  },
}
SCSS
$custom: #7b37c0;
$custom-light: #a774d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37c0",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 269.781,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.20246,
    "h": 302.2
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#7B37C0
secondary
#AACB88
accent
#DF4994
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B37C0

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

Preview Lab → · Contrast checker → · Palette generator →

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