#7B37AD#7B37AD

#7B37AD is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.182 H 307.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7B37AD
RGBrgb(123, 55, 173)
HSLhsl(275, 52%, 45%)
HSVhsv(275, 68%, 68%)
CMYKcmyk(28.9%, 68.2%, 0%, 32.2%)
CIE-LABlab(37.77, 50.36, -51.18)
CIE-LCHlch(37.77, 71.80, 314.53°)
OKLaboklab(48.57% 0.1105 -0.145)
OKLCHoklch(48.57% 0.182 307.3)
XYZxyz(17.0758, 9.9607, 40.5501)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37AD #69AD37
analogous
#4037AD #7B37AD #AD37A4
triadic
#7B37AD #AD7B37 #37AD7B
tetradic
#7B37AD #AD4037 #69AD37 #37A4AD
square
#7B37AD #AD4037 #69AD37 #37A4AD
split-complementary
#7B37AD #A4AD37 #37AD40
monochromatic
#391950 #5A287F #7B37AD #9957CA #B586D8

Accessibility & contrast

On white

7.02
#7B37AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7B37AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B37AD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37AD#FFFFFF#000000##FFFFFF
##7B37AD1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#1A59AA
Tritanopia (blue-blind)
#73516D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b37ad;
/* rgb */ color: rgb(123, 55, 173);
/* oklch */ color: oklch(48.6% 0.182 307.3);
Tailwind
colors: {
  custom: {
    50: '#a573c6',
    500: '#7b37ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b37ad;
$custom-light: #a573c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37ad",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 274.576,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.18234,
    "h": 307.3
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#7B37AD
secondary
#9BC27D
accent
#DB4D89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B37AD

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

Preview Lab → · Contrast checker → · Palette generator →

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