#7D44B2#7D44B2

#7D44B2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.170 H 305.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7D44B2
RGBrgb(125, 68, 178)
HSLhsl(271, 45%, 48%)
HSVhsv(271, 62%, 70%)
CMYKcmyk(29.8%, 61.8%, 0%, 30.2%)
CIE-LABlab(40.75, 45.46, -49.34)
CIE-LCHlch(40.75, 67.09, 312.66°)
OKLaboklab(50.88% 0.0976 -0.1396)
OKLCHoklch(50.88% 0.17 305)
XYZxyz(18.5587, 11.7087, 43.3931)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D44B2 #79B244
analogous
#4644B2 #7D44B2 #B244B0
triadic
#7D44B2 #B27D44 #44B27D
tetradic
#7D44B2 #B24644 #79B244 #44B0B2
square
#7D44B2 #B24644 #79B244 #44B0B2
split-complementary
#7D44B2 #B0B244 #44B246
monochromatic
#3F2259 #5E3386 #7D44B2 #9B6CC7 #B999D8

Accessibility & contrast

On white

6.28
#7D44B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7D44B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D44B2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D44B2#FFFFFF#000000##FFFFFF
##7D44B21.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035EB5
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#745B74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d44b2;
/* rgb */ color: rgb(125, 68, 178);
/* oklch */ color: oklch(50.9% 0.170 305.0);
Tailwind
colors: {
  custom: {
    50: '#a67bca',
    500: '#7d44b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d44b2;
$custom-light: #a67bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d44b2",
  "rgb": {
    "r": 125,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 271.091,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.17031,
    "h": 305
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#7D44B2
secondary
#A8C48E
accent
#D45392
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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