#7C3BCA#7C3BCA

#7C3BCA is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.209 H 299.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7C3BCA
RGBrgb(124, 59, 202)
HSLhsl(267, 57%, 51%)
HSVhsv(267, 71%, 79%)
CMYKcmyk(38.6%, 70.8%, 0%, 20.8%)
CIE-LABlab(40.70, 55.63, -63.47)
CIE-LCHlch(40.70, 84.40, 311.23°)
OKLaboklab(51.35% 0.1035 -0.1811)
OKLCHoklch(51.35% 0.209 299.7)
XYZxyz(20.5342, 11.6771, 57.0377)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BCA #89CA3B
analogous
#3B41CA #7C3BCA #C43BCA
triadic
#7C3BCA #CA7C3B #3BCA7C
tetradic
#7C3BCA #CA3B41 #89CA3B #3BCAC4
square
#7C3BCA #CA3B41 #89CA3B #3BCAC4
split-complementary
#7C3BCA #CAC43B #41CA3B
monochromatic
#421E6D #5F2B9D #7C3BCA #9C6BD7 #BC9BE4

Accessibility & contrast

On white

6.30
#7C3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7C3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BCA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BCA#FFFFFF#000000##FFFFFF
##7C3BCA1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#6A5E7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3bca;
/* rgb */ color: rgb(124, 59, 202);
/* oklch */ color: oklch(51.3% 0.209 299.7);
Tailwind
colors: {
  custom: {
    50: '#a876db',
    500: '#7c3bca',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bca;
$custom-light: #a876db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bca",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 267.273,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.20859,
    "h": 299.7
  },
  "luminance": 0.11677
}

Semantic roles & 50–950 ramp

primary
#7C3BCA
secondary
#B3D091
accent
#E1479B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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