#7B37AC#7B37AC

#7B37AC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.181 H 307.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7B37AC
RGBrgb(123, 55, 172)
HSLhsl(275, 52%, 45%)
HSVhsv(275, 68%, 67%)
CMYKcmyk(28.5%, 68%, 0%, 32.5%)
CIE-LABlab(37.70, 50.12, -50.70)
CIE-LCHlch(37.70, 71.29, 314.67°)
OKLaboklab(48.49% 0.1106 -0.1436)
OKLCHoklch(48.49% 0.181 307.6)
XYZxyz(16.9794, 9.9221, 40.0424)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37AC #68AC37
analogous
#4137AC #7B37AC #AC37A3
triadic
#7B37AC #AC7B37 #37AC7B
tetradic
#7B37AC #AC4137 #68AC37 #37A3AC
square
#7B37AC #AC4137 #68AC37 #37A3AC
split-complementary
#7B37AC #A3AC37 #37AC41
monochromatic
#39194F #5A287E #7B37AC #9957C9 #B585D8

Accessibility & contrast

On white

7.04
#7B37AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B37AC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37AC#FFFFFF#000000##FFFFFF
##7B37AC1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#1C59A9
Tritanopia (blue-blind)
#73506D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b37ac;
/* rgb */ color: rgb(123, 55, 172);
/* oklch */ color: oklch(48.5% 0.181 307.6);
Tailwind
colors: {
  custom: {
    50: '#a573c5',
    500: '#7b37ac',
    950: '#000000',
  },
}
SCSS
$custom: #7b37ac;
$custom-light: #a573c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37ac",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 274.872,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.18128,
    "h": 307.6
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#7B37AC
secondary
#9AC27D
accent
#DB4D88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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