#7C3DD1#7C3DD1

#7C3DD1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.214 H 298.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7C3DD1
RGBrgb(124, 61, 209)
HSLhsl(266, 62%, 53%)
HSVhsv(266, 71%, 82%)
CMYKcmyk(40.7%, 70.8%, 0%, 18%)
CIE-LABlab(41.57, 56.43, -66.09)
CIE-LCHlch(41.57, 86.91, 310.49°)
OKLaboklab(52.14% 0.1003 -0.1888)
OKLCHoklch(52.14% 0.214 298)
XYZxyz(21.4866, 12.2257, 61.5370)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3DD1 #92D13D
analogous
#3D48D1 #7C3DD1 #C63DD1
triadic
#7C3DD1 #D17C3D #3DD17C
tetradic
#7C3DD1 #D13D48 #92D13D #3DD1C6
square
#7C3DD1 #D13D48 #92D13D #3DD1C6
split-complementary
#7C3DD1 #D1C63D #48D13D
monochromatic
#431C77 #5F28A9 #7C3DD1 #9D6EDD #BFA0E8

Accessibility & contrast

On white

6.10
#7C3DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7C3DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3DD1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3DD1#FFFFFF#000000##FFFFFF
##7C3DD11.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#676283
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3dd1;
/* rgb */ color: rgb(124, 61, 209);
/* oklch */ color: oklch(52.1% 0.214 298.0);
Tailwind
colors: {
  custom: {
    50: '#a978e0',
    500: '#7c3dd1',
    950: '#000000',
  },
}
SCSS
$custom: #7c3dd1;
$custom-light: #a978e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3dd1",
  "rgb": {
    "r": 124,
    "g": 61,
    "b": 209
  },
  "hsl": {
    "h": 265.541,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5214,
    "c": 0.2138,
    "h": 298
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#7C3DD1
secondary
#BAD595
accent
#E543A0
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C3DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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