#7B37AB#7B37AB

#7B37AB is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.180 H 307.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7B37AB
RGBrgb(123, 55, 171)
HSLhsl(275, 51%, 44%)
HSVhsv(275, 68%, 67%)
CMYKcmyk(28.1%, 67.8%, 0%, 32.9%)
CIE-LABlab(37.63, 49.89, -50.22)
CIE-LCHlch(37.63, 70.79, 314.81°)
OKLaboklab(48.42% 0.1107 -0.1422)
OKLCHoklch(48.42% 0.18 307.9)
XYZxyz(16.8837, 9.8838, 39.5385)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37AB #67AB37
analogous
#4137AB #7B37AB #AB37A1
triadic
#7B37AB #AB7B37 #37AB7B
tetradic
#7B37AB #AB4137 #67AB37 #37A1AB
square
#7B37AB #AB4137 #67AB37 #37A1AB
split-complementary
#7B37AB #A1AB37 #37AB41
monochromatic
#38194E #5A287D #7B37AB #9956C9 #B585D8

Accessibility & contrast

On white

7.05
#7B37AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7B37AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B37AB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37AB#FFFFFF#000000##FFFFFF
##7B37AB1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#1E59A8
Tritanopia (blue-blind)
#73506C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b37ab;
/* rgb */ color: rgb(123, 55, 171);
/* oklch */ color: oklch(48.4% 0.180 307.9);
Tailwind
colors: {
  custom: {
    50: '#a573c5',
    500: '#7b37ab',
    950: '#000000',
  },
}
SCSS
$custom: #7b37ab;
$custom-light: #a573c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37ab",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 275.172,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48423,
    "c": 0.18021,
    "h": 307.9
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#7B37AB
secondary
#99C17C
accent
#DB4D88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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