#7D3CB8#7D3CB8

#7D3CB8 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.188 H 304.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7D3CB8
RGBrgb(125, 60, 184)
HSLhsl(271, 51%, 48%)
HSVhsv(271, 67%, 72%)
CMYKcmyk(32.1%, 67.4%, 0%, 27.8%)
CIE-LABlab(39.67, 50.97, -54.62)
CIE-LCHlch(39.67, 74.71, 313.03°)
OKLaboklab(50.23% 0.1065 -0.1551)
OKLCHoklch(50.23% 0.188 304.5)
XYZxyz(18.7231, 11.0525, 46.4851)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CB8 #77B83C
analogous
#3F3CB8 #7D3CB8 #B83CB5
triadic
#7D3CB8 #B87D3C #3CB87D
tetradic
#7D3CB8 #B83F3C #77B83C #3CB5B8
square
#7D3CB8 #B83F3C #77B83C #3CB5B8
split-complementary
#7D3CB8 #B5B83C #3CB83F
monochromatic
#3E1E5C #5E2D8A #7D3CB8 #9B65CD #B993DC

Accessibility & contrast

On white

6.54
#7D3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7D3CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CB8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CB8#FFFFFF#000000##FFFFFF
##7D3CB81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0F5DB5
Tritanopia (blue-blind)
#725875
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3cb8;
/* rgb */ color: rgb(125, 60, 184);
/* oklch */ color: oklch(50.2% 0.188 304.5);
Tailwind
colors: {
  custom: {
    50: '#a776ce',
    500: '#7d3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cb8;
$custom-light: #a776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cb8",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 271.452,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.1881,
    "h": 304.5
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#7D3CB8
secondary
#A6C789
accent
#DA4D90
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7D3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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