#7C3EC9#7C3EC9

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

Color values

HEX#7C3EC9
RGBrgb(124, 62, 201)
HSLhsl(267, 56%, 52%)
HSVhsv(267, 69%, 79%)
CMYKcmyk(38.3%, 69.2%, 0%, 21.2%)
CIE-LABlab(41.13, 53.96, -62.18)
CIE-LCHlch(41.13, 82.33, 310.95°)
OKLaboklab(51.64% 0.1007 -0.1773)
OKLCHoklch(51.64% 0.204 299.6)
XYZxyz(20.5748, 11.9472, 56.4691)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3EC9 #8BC93E
analogous
#3E46C9 #7C3EC9 #C23EC9
triadic
#7C3EC9 #C97C3E #3EC97C
tetradic
#7C3EC9 #C93E46 #8BC93E #3EC9C2
square
#7C3EC9 #C93E46 #8BC93E #3EC9C2
split-complementary
#7C3EC9 #C9C23E #46C93E
monochromatic
#421F6E #5F2C9E #7C3EC9 #9C6ED6 #BD9EE4

Accessibility & contrast

On white

6.20
#7C3EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7C3EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3EC9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3EC9#FFFFFF#000000##FFFFFF
##7C3EC91.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c3ec9;
/* rgb */ color: rgb(124, 62, 201);
/* oklch */ color: oklch(51.6% 0.204 299.6);
Tailwind
colors: {
  custom: {
    50: '#a878da',
    500: '#7c3ec9',
    950: '#000000',
  },
}
SCSS
$custom: #7c3ec9;
$custom-light: #a878da;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3ec9",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 266.763,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.20393,
    "h": 299.6
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#7C3EC9
secondary
#B5D093
accent
#E0489C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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