#7C3FC9#7C3FC9

#7C3FC9 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.203 H 299.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7C3FC9
RGBrgb(124, 63, 201)
HSLhsl(267, 56%, 52%)
HSVhsv(267, 69%, 79%)
CMYKcmyk(38.3%, 68.7%, 0%, 21.2%)
CIE-LABlab(41.31, 53.47, -61.90)
CIE-LCHlch(41.31, 81.80, 310.82°)
OKLaboklab(51.76% 0.0996 -0.1765)
OKLCHoklch(51.76% 0.203 299.4)
XYZxyz(20.6297, 12.0569, 56.4874)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FC9 #8CC93F
analogous
#3F47C9 #7C3FC9 #C13FC9
triadic
#7C3FC9 #C97C3F #3FC97C
tetradic
#7C3FC9 #C93F47 #8CC93F #3FC9C1
square
#7C3FC9 #C93F47 #8CC93F #3FC9C1
split-complementary
#7C3FC9 #C9C13F #47C93F
monochromatic
#421F6F #5F2D9E #7C3FC9 #9D6FD6 #BD9FE4

Accessibility & contrast

On white

6.16
#7C3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7C3FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FC9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FC9#FFFFFF#000000##FFFFFF
##7C3FC91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#6A607F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3fc9;
/* rgb */ color: rgb(124, 63, 201);
/* oklch */ color: oklch(51.8% 0.203 299.4);
Tailwind
colors: {
  custom: {
    50: '#a879da',
    500: '#7c3fc9',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fc9;
$custom-light: #a879da;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fc9",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 266.522,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.2027,
    "h": 299.4
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

primary
#7C3FC9
secondary
#B5D094
accent
#DF489D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7C3FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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