#7D3BA2#7D3BA2

#7D3BA2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.6% C 0.166 H 311.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7D3BA2
RGBrgb(125, 59, 162)
HSLhsl(278, 47%, 43%)
HSVhsv(278, 64%, 64%)
CMYKcmyk(22.8%, 63.6%, 0%, 36.5%)
CIE-LABlab(38.02, 46.33, -44.20)
CIE-LCHlch(38.02, 64.04, 316.35°)
OKLaboklab(48.57% 0.1093 -0.1245)
OKLCHoklch(48.57% 0.166 311.3)
XYZxyz(16.5418, 10.0969, 35.2529)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BA2 #60A23B
analogous
#4A3BA2 #7D3BA2 #A23B93
triadic
#7D3BA2 #A27D3B #3BA27D
tetradic
#7D3BA2 #A24A3B #60A23B #3B93A2
square
#7D3BA2 #A24A3B #60A23B #3B93A2
split-complementary
#7D3BA2 #93A23B #3BA24A
monochromatic
#381A48 #5A2B75 #7D3BA2 #9C58C2 #B785D3

Accessibility & contrast

On white

6.96
#7D3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D3BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BA2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BA2#FFFFFF#000000##FFFFFF
##7D3BA21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A5
Deuteranopia (green-blind)
#315BA0
Tritanopia (blue-blind)
#794F69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d3ba2;
/* rgb */ color: rgb(125, 59, 162);
/* oklch */ color: oklch(48.6% 0.166 311.3);
Tailwind
colors: {
  custom: {
    50: '#a675be',
    500: '#7d3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3ba2;
$custom-light: #a675be;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3ba2",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 278.447,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.16564,
    "h": 311.3
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#7D3BA2
secondary
#93BD7C
accent
#D65281
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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