#7C50C2#7C50C2

#7C50C2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.172 H 298.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7C50C2
RGBrgb(124, 80, 194)
HSLhsl(263, 48%, 54%)
HSVhsv(263, 59%, 76%)
CMYKcmyk(36.1%, 58.8%, 0%, 23.9%)
CIE-LABlab(44.11, 42.76, -53.30)
CIE-LCHlch(44.11, 68.33, 308.74°)
OKLaboklab(53.64% 0.0811 -0.1513)
OKLCHoklch(53.64% 0.172 298.2)
XYZxyz(20.9160, 13.9172, 52.6128)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50C2 #96C250
analogous
#505DC2 #7C50C2 #B550C2
triadic
#7C50C2 #C27C50 #50C27C
tetradic
#7C50C2 #C2505D #96C250 #50C2B5
square
#7C50C2 #C2505D #96C250 #50C2B5
split-complementary
#7C50C2 #C2B550 #5DC250
monochromatic
#432770 #5F379E #7C50C2 #9E7DD2 #C0ABE2

Accessibility & contrast

On white

5.55
#7C50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7C50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C50C2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50C2#FFFFFF#000000##FFFFFF
##7C50C21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F68C6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#6C6881
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c50c2;
/* rgb */ color: rgb(124, 80, 194);
/* oklch */ color: oklch(53.6% 0.172 298.2);
Tailwind
colors: {
  custom: {
    50: '#a683d5',
    500: '#7c50c2',
    950: '#000000',
  },
}
SCSS
$custom: #7c50c2;
$custom-light: #a683d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50c2",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 263.158,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.17164,
    "h": 298.2
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#7C50C2
secondary
#BCCF9F
accent
#D850A3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7C50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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