#7D37B8#7D37B8

#7D37B8 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.194 H 305.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7D37B8
RGBrgb(125, 55, 184)
HSLhsl(273, 54%, 47%)
HSVhsv(273, 70%, 72%)
CMYKcmyk(32.1%, 70.1%, 0%, 27.8%)
CIE-LABlab(38.82, 53.34, -55.99)
CIE-LCHlch(38.82, 77.34, 313.61°)
OKLaboklab(49.62% 0.1119 -0.1591)
OKLCHoklch(49.62% 0.194 305.1)
XYZxyz(18.4734, 10.5532, 46.4019)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37B8 #72B837
analogous
#3C37B8 #7D37B8 #B837B3
triadic
#7D37B8 #B87D37 #37B87D
tetradic
#7D37B8 #B83C37 #72B837 #37B3B8
square
#7D37B8 #B83C37 #72B837 #37B3B8
split-complementary
#7D37B8 #B3B837 #37B83C
monochromatic
#3D1B5A #5D2989 #7D37B8 #9B5DCF #B88DDD

Accessibility & contrast

On white

6.75
#7D37B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7D37B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37B8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37B8#FFFFFF#000000##FFFFFF
##7D37B81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#725574
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d37b8;
/* rgb */ color: rgb(125, 55, 184);
/* oklch */ color: oklch(49.6% 0.194 305.1);
Tailwind
colors: {
  custom: {
    50: '#a773ce',
    500: '#7d37b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d37b8;
$custom-light: #a773ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37b8",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 272.558,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.19447,
    "h": 305.1
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#7D37B8
secondary
#A3C784
accent
#DD4A8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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