#7C3DBE#7C3DBE

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

Color values

HEX#7C3DBE
RGBrgb(124, 61, 190)
HSLhsl(269, 51%, 49%)
HSVhsv(269, 68%, 75%)
CMYKcmyk(34.7%, 67.9%, 0%, 25.5%)
CIE-LABlab(40.15, 51.73, -57.37)
CIE-LCHlch(40.15, 77.25, 312.04°)
OKLaboklab(50.68% 0.1033 -0.1632)
OKLCHoklch(50.68% 0.193 302.3)
XYZxyz(19.2730, 11.3402, 49.8787)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DBE #7FBE3D
analogous
#3D3FBE #7C3DBE #BC3DBE
triadic
#7C3DBE #BE7C3D #3DBE7C
tetradic
#7C3DBE #BE3D3F #7FBE3D #3DBEBC
square
#7C3DBE #BE3D3F #7FBE3D #3DBEBC
split-complementary
#7C3DBE #BEBC3D #3FBE3D
monochromatic
#401F61 #5E2E90 #7C3DBE #9B69CF #BA98DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C3DBE#FFFFFF#000000##FFFFFF
##7C3DBE1.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)
#005EC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#6E5B79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7c3dbe;
/* rgb */ color: rgb(124, 61, 190);
/* oklch */ color: oklch(50.7% 0.193 302.3);
Tailwind
colors: {
  custom: {
    50: '#a777d2',
    500: '#7c3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dbe;
$custom-light: #a777d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dbe",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 269.302,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.19313,
    "h": 302.3
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#7C3DBE
secondary
#ACC98D
accent
#DB4D96
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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