#7B37C5#7B37C5

#7B37C5 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.4% C 0.208 H 301.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7B37C5
RGBrgb(123, 55, 197)
HSLhsl(269, 56%, 49%)
HSVhsv(269, 72%, 77%)
CMYKcmyk(37.6%, 72.1%, 0%, 22.7%)
CIE-LABlab(39.54, 56.06, -62.46)
CIE-LCHlch(39.54, 83.93, 311.91°)
OKLaboklab(50.38% 0.1069 -0.1781)
OKLCHoklch(50.38% 0.208 301)
XYZxyz(19.6101, 10.9744, 53.8976)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37C5 #81C537
analogous
#373AC5 #7B37C5 #C237C5
triadic
#7B37C5 #C57B37 #37C57B
tetradic
#7B37C5 #C5373A #81C537 #37C5C2
square
#7B37C5 #C5373A #81C537 #37C5C2
split-complementary
#7B37C5 #C5C237 #3AC537
monochromatic
#3F1C65 #5D2A95 #7B37C5 #9A65D4 #BA95E1

Accessibility & contrast

On white

6.57
#7B37C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7B37C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37C5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37C5#FFFFFF#000000##FFFFFF
##7B37C51.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#6B5A7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b37c5;
/* rgb */ color: rgb(123, 55, 197);
/* oklch */ color: oklch(50.4% 0.208 301.0);
Tailwind
colors: {
  custom: {
    50: '#a774d8',
    500: '#7b37c5',
    950: '#000000',
  },
}
SCSS
$custom: #7b37c5;
$custom-light: #a774d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37c5",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 268.732,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.20774,
    "h": 301
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#7B37C5
secondary
#ADCD8B
accent
#E04897
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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