#7B37C1#7B37C1

#7B37C1 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.204 H 301.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7B37C1
RGBrgb(123, 55, 193)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(36.3%, 71.5%, 0%, 24.3%)
CIE-LABlab(39.23, 55.10, -60.62)
CIE-LCHlch(39.23, 81.92, 312.27°)
OKLaboklab(50.07% 0.1076 -0.1727)
OKLCHoklch(50.07% 0.204 301.9)
XYZxyz(19.1579, 10.7935, 51.5158)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37C1 #7DC137
analogous
#3738C1 #7B37C1 #C037C1
triadic
#7B37C1 #C17B37 #37C17B
tetradic
#7B37C1 #C13738 #7DC137 #37C1C0
square
#7B37C1 #C13738 #7DC137 #37C1C0
split-complementary
#7B37C1 #C1C037 #38C137
monochromatic
#3E1C62 #5D2991 #7B37C1 #9A63D2 #B992E0

Accessibility & contrast

On white

6.65
#7B37C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7B37C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37C1
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37C1#FFFFFF#000000##FFFFFF
##7B37C11.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#6C5978
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b37c1;
/* rgb */ color: rgb(123, 55, 193);
/* oklch */ color: oklch(50.1% 0.204 301.9);
Tailwind
colors: {
  custom: {
    50: '#a774d5',
    500: '#7b37c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b37c1;
$custom-light: #a774d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37c1",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 269.565,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.20352,
    "h": 301.9
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#7B37C1
secondary
#AACB89
accent
#DF4995
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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