#7C3DCA#7C3DCA

#7C3DCA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.206 H 299.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7C3DCA
RGBrgb(124, 61, 202)
HSLhsl(267, 57%, 52%)
HSVhsv(267, 70%, 79%)
CMYKcmyk(38.6%, 69.8%, 0%, 20.8%)
CIE-LABlab(41.04, 54.69, -62.92)
CIE-LCHlch(41.04, 83.36, 311.00°)
OKLaboklab(51.59% 0.1015 -0.1795)
OKLCHoklch(51.59% 0.206 299.5)
XYZxyz(20.6389, 11.8866, 57.0726)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DCA #8BCA3D
analogous
#3D45CA #7C3DCA #C33DCA
triadic
#7C3DCA #CA7C3D #3DCA7C
tetradic
#7C3DCA #CA3D45 #8BCA3D #3DCAC3
square
#7C3DCA #CA3D45 #8BCA3D #3DCAC3
split-complementary
#7C3DCA #CAC33D #45CA3D
monochromatic
#421E6E #5F2B9F #7C3DCA #9C6DD7 #BD9DE4

Accessibility & contrast

On white

6.22
#7C3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7C3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DCA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DCA#FFFFFF#000000##FFFFFF
##7C3DCA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6A5F7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3dca;
/* rgb */ color: rgb(124, 61, 202);
/* oklch */ color: oklch(51.6% 0.206 299.5);
Tailwind
colors: {
  custom: {
    50: '#a877db',
    500: '#7c3dca',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dca;
$custom-light: #a877db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dca",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 266.809,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.20622,
    "h": 299.5
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#7C3DCA
secondary
#B5D092
accent
#E0479C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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