#7C3FC2#7C3FC2

#7C3FC2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.195 H 301.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7C3FC2
RGBrgb(124, 63, 194)
HSLhsl(268, 52%, 50%)
HSVhsv(268, 68%, 76%)
CMYKcmyk(36.1%, 67.5%, 0%, 23.9%)
CIE-LABlab(40.79, 51.73, -58.66)
CIE-LCHlch(40.79, 78.22, 311.41°)
OKLaboklab(51.23% 0.1006 -0.167)
OKLCHoklch(51.23% 0.195 301.1)
XYZxyz(19.8249, 11.7350, 52.2491)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FC2 #85C23F
analogous
#3F43C2 #7C3FC2 #BE3FC2
triadic
#7C3FC2 #C27C3F #3FC27C
tetradic
#7C3FC2 #C23F43 #85C23F #3FC2BE
square
#7C3FC2 #C23F43 #85C23F #3FC2BE
split-complementary
#7C3FC2 #C2BE3F #43C23F
monochromatic
#412066 #5E2F95 #7C3FC2 #9C6DD1 #BB9CE0

Accessibility & contrast

On white

6.27
#7C3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7C3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FC2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FC2#FFFFFF#000000##FFFFFF
##7C3FC21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#6D5D7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7c3fc2;
/* rgb */ color: rgb(124, 63, 194);
/* oklch */ color: oklch(51.2% 0.195 301.1);
Tailwind
colors: {
  custom: {
    50: '#a778d5',
    500: '#7c3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fc2;
$custom-light: #a778d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fc2",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 267.939,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.19498,
    "h": 301.1
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#7C3FC2
secondary
#B0CC91
accent
#DB4D99
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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