#7D37C2#7D37C2

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

Color values

HEX#7D37C2
RGBrgb(125, 55, 194)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(35.6%, 71.6%, 0%, 23.9%)
CIE-LABlab(39.56, 55.71, -60.66)
CIE-LCHlch(39.56, 82.36, 312.57°)
OKLaboklab(50.38% 0.1102 -0.1728)
OKLCHoklch(50.38% 0.205 302.5)
XYZxyz(19.5589, 10.9874, 52.1188)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37C2 #7CC237
analogous
#3837C2 #7D37C2 #C237C2
triadic
#7D37C2 #C27D37 #37C27D
tetradic
#7D37C2 #C23837 #7CC237 #37C2C2
square
#7D37C2 #C23837 #7CC237 #37C2C2
split-complementary
#7D37C2 #C2C237 #37C238
monochromatic
#401C63 #5E2992 #7D37C2 #9C63D3 #BA93E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D37C2#FFFFFF#000000##FFFFFF
##7D37C21.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)
#005CC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#6F5979
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d37c2;
/* rgb */ color: rgb(125, 55, 194);
/* oklch */ color: oklch(50.4% 0.205 302.5);
Tailwind
colors: {
  custom: {
    50: '#a874d5',
    500: '#7d37c2',
    950: '#000000',
  },
}
SCSS
$custom: #7d37c2;
$custom-light: #a874d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37c2",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 270.216,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.20495,
    "h": 302.5
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#7D37C2
secondary
#AACB89
accent
#DF4993
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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