#7C3DC6#7C3DC6

#7C3DC6 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.202 H 300.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7C3DC6
RGBrgb(124, 61, 198)
HSLhsl(268, 55%, 51%)
HSVhsv(268, 69%, 78%)
CMYKcmyk(37.4%, 69.2%, 0%, 22.4%)
CIE-LABlab(40.73, 53.70, -61.09)
CIE-LCHlch(40.73, 81.33, 311.32°)
OKLaboklab(51.28% 0.1022 -0.1741)
OKLCHoklch(51.28% 0.202 300.4)
XYZxyz(20.1715, 11.6996, 54.6107)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DC6 #87C63D
analogous
#3D42C6 #7C3DC6 #C03DC6
triadic
#7C3DC6 #C67C3D #3DC67C
tetradic
#7C3DC6 #C63D42 #87C63D #3DC6C0
square
#7C3DC6 #C63D42 #87C63D #3DC6C0
split-complementary
#7C3DC6 #C6C03D #42C63D
monochromatic
#411F6A #5F2D99 #7C3DC6 #9C6CD4 #BC9CE2

Accessibility & contrast

On white

6.29
#7C3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7C3DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DC6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DC6#FFFFFF#000000##FFFFFF
##7C3DC61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#6C5E7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3dc6;
/* rgb */ color: rgb(124, 61, 198);
/* oklch */ color: oklch(51.3% 0.202 300.4);
Tailwind
colors: {
  custom: {
    50: '#a877d8',
    500: '#7c3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dc6;
$custom-light: #a877d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dc6",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 267.591,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.20187,
    "h": 300.4
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#7C3DC6
secondary
#B2CE91
accent
#DE4A9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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