#7C50CC#7C50CC

#7C50CC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.184 H 296.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7C50CC
RGBrgb(124, 80, 204)
HSLhsl(261, 55%, 56%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(39.2%, 60.8%, 0%, 20%)
CIE-LABlab(44.78, 45.39, -58.02)
CIE-LCHlch(44.78, 73.66, 308.04°)
OKLaboklab(54.33% 0.0808 -0.1651)
OKLCHoklch(54.33% 0.184 296.1)
XYZxyz(22.0771, 14.3816, 58.7278)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50CC #A0CC50
analogous
#5062CC #7C50CC #BA50CC
triadic
#7C50CC #CC7C50 #50CC7C
tetradic
#7C50CC #CC5062 #A0CC50 #50CCBA
square
#7C50CC #CC5062 #A0CC50 #50CCBA
split-complementary
#7C50CC #CCBA50 #62CC50
monochromatic
#44247D #5E32AD #7C50CC #9F7FDA #C3AFE8

Accessibility & contrast

On white

5.42
#7C50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7C50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C50CC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50CC#FFFFFF#000000##FFFFFF
##7C50CC1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#1168C9
Tritanopia (blue-blind)
#686B86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c50cc;
/* rgb */ color: rgb(124, 80, 204);
/* oklch */ color: oklch(54.3% 0.184 296.1);
Tailwind
colors: {
  custom: {
    50: '#a783dc',
    500: '#7c50cc',
    950: '#000000',
  },
}
SCSS
$custom: #7c50cc;
$custom-light: #a783dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50cc",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 261.29,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.18384,
    "h": 296.1
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#7C50CC
secondary
#C3D6A2
accent
#DE4AA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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