#7D3BBE#7D3BBE

#7D3BBE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.196 H 303.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7D3BBE
RGBrgb(125, 59, 190)
HSLhsl(270, 53%, 49%)
HSVhsv(270, 69%, 75%)
CMYKcmyk(34.2%, 68.9%, 0%, 25.5%)
CIE-LABlab(39.92, 52.90, -57.72)
CIE-LCHlch(39.92, 78.30, 312.50°)
OKLaboklab(50.54% 0.1068 -0.1642)
OKLCHoklch(50.54% 0.196 303)
XYZxyz(19.3135, 11.2056, 49.8506)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BBE #7CBE3B
analogous
#3C3BBE #7D3BBE #BE3BBE
triadic
#7D3BBE #BE7D3B #3BBE7D
tetradic
#7D3BBE #BE3C3B #7CBE3B #3BBEBE
square
#7D3BBE #BE3C3B #7CBE3B #3BBEBE
split-complementary
#7D3BBE #BEBE3B #3BBE3C
monochromatic
#401E61 #5E2C8F #7D3BBE #9C67D0 #BA95DE

Accessibility & contrast

On white

6.48
#7D3BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7D3BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BBE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BBE#FFFFFF#000000##FFFFFF
##7D3BBE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#705978
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3bbe;
/* rgb */ color: rgb(125, 59, 190);
/* oklch */ color: oklch(50.5% 0.196 303.0);
Tailwind
colors: {
  custom: {
    50: '#a876d2',
    500: '#7d3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bbe;
$custom-light: #a876d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bbe",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 270.229,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.19587,
    "h": 303
  },
  "luminance": 0.11206
}

Semantic roles & 50–950 ramp

primary
#7D3BBE
secondary
#AACA8B
accent
#DC4C93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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