#7C3ACB#7C3ACB

#7C3ACB is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.211 H 299.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7C3ACB
RGBrgb(124, 58, 203)
HSLhsl(267, 58%, 51%)
HSVhsv(267, 71%, 80%)
CMYKcmyk(38.9%, 71.4%, 0%, 20.4%)
CIE-LABlab(40.61, 56.34, -64.19)
CIE-LCHlch(40.61, 85.41, 311.27°)
OKLaboklab(51.31% 0.1042 -0.1832)
OKLCHoklch(51.31% 0.211 299.6)
XYZxyz(20.6020, 11.6228, 57.6463)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3ACB #89CB3A
analogous
#3A40CB #7C3ACB #C43ACB
triadic
#7C3ACB #CB7C3A #3ACB7C
tetradic
#7C3ACB #CB3A40 #89CB3A #3ACBC4
square
#7C3ACB #CB3A40 #89CB3A #3ACBC4
split-complementary
#7C3ACB #CBC43A #40CB3A
monochromatic
#421D6E #5F2A9E #7C3ACB #9C6AD8 #BC9BE5

Accessibility & contrast

On white

6.32
#7C3ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7C3ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3ACB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3ACB#FFFFFF#000000##FFFFFF
##7C3ACB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#6A5E7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3acb;
/* rgb */ color: rgb(124, 58, 203);
/* oklch */ color: oklch(51.3% 0.211 299.6);
Tailwind
colors: {
  custom: {
    50: '#a876dc',
    500: '#7c3acb',
    950: '#000000',
  },
}
SCSS
$custom: #7c3acb;
$custom-light: #a876dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3acb",
  "rgb": {
    "r": 124,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 267.31,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.21081,
    "h": 299.6
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#7C3ACB
secondary
#B3D090
accent
#E1469B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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