#7D3BC1#7D3BC1

#7D3BC1 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.199 H 302.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7D3BC1
RGBrgb(125, 59, 193)
HSLhsl(270, 53%, 49%)
HSVhsv(270, 69%, 76%)
CMYKcmyk(35.2%, 69.4%, 0%, 24.3%)
CIE-LABlab(40.14, 53.62, -59.12)
CIE-LCHlch(40.14, 79.82, 312.21°)
OKLaboklab(50.77% 0.1064 -0.1683)
OKLCHoklch(50.77% 0.199 302.3)
XYZxyz(19.6448, 11.3381, 51.5953)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3BC1 #7FC13B
analogous
#3B3CC1 #7D3BC1 #C03BC1
triadic
#7D3BC1 #C17D3B #3BC17D
tetradic
#7D3BC1 #C13B3C #7FC13B #3BC1C0
square
#7D3BC1 #C13B3C #7FC13B #3BC1C0
split-complementary
#7D3BC1 #C1C03B #3CC13B
monochromatic
#401E63 #5F2D92 #7D3BC1 #9C68D1 #BB97DF

Accessibility & contrast

On white

6.43
#7D3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7D3BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3BC1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3BC1#FFFFFF#000000##FFFFFF
##7D3BC11.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#6F5A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3bc1;
/* rgb */ color: rgb(125, 59, 193);
/* oklch */ color: oklch(50.8% 0.199 302.3);
Tailwind
colors: {
  custom: {
    50: '#a876d5',
    500: '#7d3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #7d3bc1;
$custom-light: #a876d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3bc1",
  "rgb": {
    "r": 125,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 269.552,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.19909,
    "h": 302.3
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#7D3BC1
secondary
#ACCB8D
accent
#DD4B95
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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