#7B37BD#7B37BD

#7B37BD is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.8% C 0.199 H 302.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7B37BD
RGBrgb(123, 55, 189)
HSLhsl(270, 55%, 48%)
HSVhsv(270, 71%, 74%)
CMYKcmyk(34.9%, 70.9%, 0%, 25.9%)
CIE-LABlab(38.93, 54.14, -58.77)
CIE-LCHlch(38.93, 79.90, 312.65°)
OKLaboklab(49.76% 0.1083 -0.1673)
OKLCHoklch(49.76% 0.199 302.9)
XYZxyz(18.7177, 10.6174, 49.1975)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37BD #79BD37
analogous
#3837BD #7B37BD #BD37BC
triadic
#7B37BD #BD7B37 #37BD7B
tetradic
#7B37BD #BD3837 #79BD37 #37BCBD
square
#7B37BD #BD3837 #79BD37 #37BCBD
split-complementary
#7B37BD #BCBD37 #37BD38
monochromatic
#3D1B5E #5C298E #7B37BD #9960D1 #B890DF

Accessibility & contrast

On white

6.72
#7B37BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7B37BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37BD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37BD#FFFFFF#000000##FFFFFF
##7B37BD1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#6E5776
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b37bd;
/* rgb */ color: rgb(123, 55, 189);
/* oklch */ color: oklch(49.8% 0.199 302.9);
Tailwind
colors: {
  custom: {
    50: '#a773d2',
    500: '#7b37bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b37bd;
$custom-light: #a773d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37bd",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 270.448,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.19929,
    "h": 302.9
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#7B37BD
secondary
#A7C986
accent
#DE4A93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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