#7C3CC8#7C3CC8

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

Color values

HEX#7C3CC8
RGBrgb(124, 60, 200)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(38%, 70%, 0%, 21.6%)
CIE-LABlab(40.71, 54.67, -62.28)
CIE-LCHlch(40.71, 82.87, 311.27°)
OKLaboklab(51.31% 0.1028 -0.1776)
OKLCHoklch(51.31% 0.205 300.1)
XYZxyz(20.3508, 11.6867, 55.8160)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3CC8 #88C83C
analogous
#3C42C8 #7C3CC8 #C23CC8
triadic
#7C3CC8 #C87C3C #3CC87C
tetradic
#7C3CC8 #C83C42 #88C83C #3CC8C2
square
#7C3CC8 #C83C42 #88C83C #3CC8C2
split-complementary
#7C3CC8 #C8C23C #42C83C
monochromatic
#411E6B #5F2C9B #7C3CC8 #9C6CD5 #BC9BE3

Accessibility & contrast

On white

6.29
#7C3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C3CC8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3CC8#FFFFFF#000000##FFFFFF
##7C3CC81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#6B5E7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3cc8;
/* rgb */ color: rgb(124, 60, 200);
/* oklch */ color: oklch(51.3% 0.205 300.1);
Tailwind
colors: {
  custom: {
    50: '#a877da',
    500: '#7c3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #7c3cc8;
$custom-light: #a877da;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3cc8",
  "rgb": {
    "r": 124,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 267.429,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51314,
    "c": 0.20525,
    "h": 300.1
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#7C3CC8
secondary
#B3CF91
accent
#DF499A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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