#7C3DC5#7C3DC5

#7C3DC5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.201 H 300.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7C3DC5
RGBrgb(124, 61, 197)
HSLhsl(268, 54%, 51%)
HSVhsv(268, 69%, 77%)
CMYKcmyk(37.1%, 69%, 0%, 22.7%)
CIE-LABlab(40.66, 53.45, -60.62)
CIE-LCHlch(40.66, 80.82, 311.40°)
OKLaboklab(51.21% 0.1023 -0.1728)
OKLCHoklch(51.21% 0.201 300.6)
XYZxyz(20.0565, 11.6536, 54.0052)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DC5 #86C53D
analogous
#3D42C5 #7C3DC5 #C03DC5
triadic
#7C3DC5 #C57C3D #3DC57C
tetradic
#7C3DC5 #C53D42 #86C53D #3DC5C0
square
#7C3DC5 #C53D42 #86C53D #3DC5C0
split-complementary
#7C3DC5 #C5C03D #42C53D
monochromatic
#411F68 #5E2D98 #7C3DC5 #9C6CD3 #BC9BE1

Accessibility & contrast

On white

6.30
#7C3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7C3DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DC5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DC5#FFFFFF#000000##FFFFFF
##7C3DC51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#6C5D7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3dc5;
/* rgb */ color: rgb(124, 61, 197);
/* oklch */ color: oklch(51.2% 0.201 300.6);
Tailwind
colors: {
  custom: {
    50: '#a877d7',
    500: '#7c3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dc5;
$custom-light: #a877d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dc5",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 267.794,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.20079,
    "h": 300.6
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#7C3DC5
secondary
#B1CD91
accent
#DD4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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