#7C3FC8#7C3FC8

#7C3FC8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.202 H 299.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C3FC8
RGBrgb(124, 63, 200)
HSLhsl(267, 55%, 52%)
HSVhsv(267, 69%, 78%)
CMYKcmyk(38%, 68.5%, 0%, 21.6%)
CIE-LABlab(41.23, 53.22, -61.44)
CIE-LCHlch(41.23, 81.29, 310.90°)
OKLaboklab(51.68% 0.0998 -0.1752)
OKLCHoklch(51.68% 0.202 299.7)
XYZxyz(20.5124, 12.0100, 55.8699)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FC8 #8BC83F
analogous
#3F47C8 #7C3FC8 #C13FC8
triadic
#7C3FC8 #C87C3F #3FC87C
tetradic
#7C3FC8 #C83F47 #8BC83F #3FC8C1
square
#7C3FC8 #C83F47 #8BC83F #3FC8C1
split-complementary
#7C3FC8 #C8C13F #47C83F
monochromatic
#421F6D #5F2D9D #7C3FC8 #9C6FD6 #BD9EE3

Accessibility & contrast

On white

6.17
#7C3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7C3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FC8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FC8#FFFFFF#000000##FFFFFF
##7C3FC81.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#6B607F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3fc8;
/* rgb */ color: rgb(124, 63, 200);
/* oklch */ color: oklch(51.7% 0.202 299.7);
Tailwind
colors: {
  custom: {
    50: '#a878da',
    500: '#7c3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fc8;
$custom-light: #a878da;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fc8",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 266.715,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51683,
    "c": 0.2016,
    "h": 299.7
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#7C3FC8
secondary
#B5D093
accent
#DF499C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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