#7C3DD9#7C3DD9

#7C3DD9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.222 H 296.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7C3DD9
RGBrgb(124, 61, 217)
HSLhsl(264, 67%, 55%)
HSVhsv(264, 72%, 85%)
CMYKcmyk(42.9%, 71.9%, 0%, 14.9%)
CIE-LABlab(42.20, 58.44, -69.66)
CIE-LCHlch(42.20, 90.93, 309.99°)
OKLaboklab(52.78% 0.0987 -0.1993)
OKLCHoklch(52.78% 0.222 296.3)
XYZxyz(22.5020, 12.6318, 66.8848)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DD9 #9AD93D
analogous
#3D4CD9 #7C3DD9 #CA3DD9
triadic
#7C3DD9 #D97C3D #3DD97C
tetradic
#7C3DD9 #D93D4C #9AD93D #3DD9CA
square
#7C3DD9 #D93D4C #9AD93D #3DD9CA
split-complementary
#7C3DD9 #D9CA3D #4CD93D
monochromatic
#441982 #5E24B5 #7C3DD9 #9F70E3 #C1A3ED

Accessibility & contrast

On white

5.96
#7C3DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7C3DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DD9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DD9#FFFFFF#000000##FFFFFF
##7C3DD91.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#636587
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7c3dd9;
/* rgb */ color: rgb(124, 61, 217);
/* oklch */ color: oklch(52.8% 0.222 296.3);
Tailwind
colors: {
  custom: {
    50: '#aa78e6',
    500: '#7c3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dd9;
$custom-light: #aa78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dd9",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 264.231,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52783,
    "c": 0.22241,
    "h": 296.3
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#7C3DD9
secondary
#BFDA98
accent
#EA3EA4
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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