#7D36BA#7D36BA

#7D36BA is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.7% C 0.198 H 304.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7D36BA
RGBrgb(125, 54, 186)
HSLhsl(272, 55%, 47%)
HSVhsv(272, 71%, 73%)
CMYKcmyk(32.8%, 71%, 0%, 27.1%)
CIE-LABlab(38.80, 54.27, -57.20)
CIE-LCHlch(38.80, 78.85, 313.50°)
OKLaboklab(49.65% 0.1126 -0.1626)
OKLCHoklch(49.65% 0.198 304.7)
XYZxyz(18.6375, 10.5436, 47.4981)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D36BA #73BA36
analogous
#3B36BA #7D36BA #BA36B5
triadic
#7D36BA #BA7D36 #36BA7D
tetradic
#7D36BA #BA3B36 #73BA36 #36B5BA
square
#7D36BA #BA3B36 #73BA36 #36B5BA
split-complementary
#7D36BA #B5BA36 #36BA3B
monochromatic
#3D1A5B #5D288B #7D36BA #9B5DD0 #B88DDE

Accessibility & contrast

On white

6.76
#7D36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D36BA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D36BA#FFFFFF#000000##FFFFFF
##7D36BA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d36ba;
/* rgb */ color: rgb(125, 54, 186);
/* oklch */ color: oklch(49.7% 0.198 304.7);
Tailwind
colors: {
  custom: {
    50: '#a873d0',
    500: '#7d36ba',
    950: '#000000',
  },
}
SCSS
$custom: #7d36ba;
$custom-light: #a873d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d36ba",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 272.273,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49652,
    "c": 0.19778,
    "h": 304.7
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#7D36BA
secondary
#A3C884
accent
#DE498E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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