#7C3DC1#7C3DC1

#7C3DC1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.196 H 301.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7C3DC1
RGBrgb(124, 61, 193)
HSLhsl(269, 52%, 50%)
HSVhsv(269, 68%, 76%)
CMYKcmyk(35.8%, 68.4%, 0%, 24.3%)
CIE-LABlab(40.37, 52.47, -58.77)
CIE-LCHlch(40.37, 78.78, 311.76°)
OKLaboklab(50.9% 0.1029 -0.1673)
OKLCHoklch(50.9% 0.196 301.6)
XYZxyz(19.6043, 11.4727, 51.6234)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DC1 #82C13D
analogous
#3D40C1 #7C3DC1 #BE3DC1
triadic
#7C3DC1 #C17C3D #3DC17C
tetradic
#7C3DC1 #C13D40 #82C13D #3DC1BE
square
#7C3DC1 #C13D40 #82C13D #3DC1BE
split-complementary
#7C3DC1 #C1BE3D #40C13D
monochromatic
#402064 #5E2E92 #7C3DC1 #9B6BD0 #BB99DF

Accessibility & contrast

On white

6.37
#7C3DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7C3DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DC1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DC1#FFFFFF#000000##FFFFFF
##7C3DC11.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c3dc1;
/* rgb */ color: rgb(124, 61, 193);
/* oklch */ color: oklch(50.9% 0.196 301.6);
Tailwind
colors: {
  custom: {
    50: '#a777d5',
    500: '#7c3dc1',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dc1;
$custom-light: #a777d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dc1",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 268.636,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.19641,
    "h": 301.6
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#7C3DC1
secondary
#AECB8F
accent
#DB4C97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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