#7D37A2#7D37A2

#7D37A2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.171 H 311.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7D37A2
RGBrgb(125, 55, 162)
HSLhsl(279, 49%, 43%)
HSVhsv(279, 66%, 64%)
CMYKcmyk(22.8%, 66%, 0%, 36.5%)
CIE-LABlab(37.30, 48.30, -45.35)
CIE-LCHlch(37.30, 66.25, 316.80°)
OKLaboklab(48.05% 0.1141 -0.1278)
OKLCHoklch(48.05% 0.171 311.8)
XYZxyz(16.3440, 9.7014, 35.1870)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37A2 #5CA237
analogous
#4737A2 #7D37A2 #A23792
triadic
#7D37A2 #A27D37 #37A27D
tetradic
#7D37A2 #A24737 #5CA237 #3792A2
square
#7D37A2 #A24737 #5CA237 #3792A2
split-complementary
#7D37A2 #92A237 #37A247
monochromatic
#361847 #5A2774 #7D37A2 #9D52C4 #B780D4

Accessibility & contrast

On white

7.14
#7D37A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7D37A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D37A2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37A2#FFFFFF#000000##FFFFFF
##7D37A21.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#794C68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d37a2;
/* rgb */ color: rgb(125, 55, 162);
/* oklch */ color: oklch(48.0% 0.171 311.8);
Tailwind
colors: {
  custom: {
    50: '#a673be',
    500: '#7d37a2',
    950: '#000000',
  },
}
SCSS
$custom: #7d37a2;
$custom-light: #a673be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37a2",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 279.252,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4805,
    "c": 0.17136,
    "h": 311.8
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#7D37A2
secondary
#90BD78
accent
#D94F7F
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D37A2

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

Preview Lab → · Contrast checker → · Palette generator →

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