#7C3DCD#7C3DCD

#7C3DCD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.209 H 298.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C3DCD
RGBrgb(124, 61, 205)
HSLhsl(266, 59%, 52%)
HSVhsv(266, 70%, 80%)
CMYKcmyk(39.5%, 70.2%, 0%, 19.6%)
CIE-LABlab(41.26, 55.43, -64.29)
CIE-LCHlch(41.26, 84.89, 310.77°)
OKLaboklab(51.82% 0.101 -0.1835)
OKLCHoklch(51.82% 0.209 298.8)
XYZxyz(20.9976, 12.0301, 58.9615)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DCD #8ECD3D
analogous
#3D46CD #7C3DCD #C43DCD
triadic
#7C3DCD #CD7C3D #3DCD7C
tetradic
#7C3DCD #CD3D46 #8ECD3D #3DCDC4
square
#7C3DCD #CD3D46 #8ECD3D #3DCDC4
split-complementary
#7C3DCD #CDC43D #46CD3D
monochromatic
#431D72 #5F2AA3 #7C3DCD #9D6EDA #BE9EE6

Accessibility & contrast

On white

6.17
#7C3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7C3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DCD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DCD#FFFFFF#000000##FFFFFF
##7C3DCD1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#696081
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3dcd;
/* rgb */ color: rgb(124, 61, 205);
/* oklch */ color: oklch(51.8% 0.209 298.8);
Tailwind
colors: {
  custom: {
    50: '#a878dd',
    500: '#7c3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dcd;
$custom-light: #a878dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dcd",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 266.25,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.20948,
    "h": 298.8
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#7C3DCD
secondary
#B7D293
accent
#E2469E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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