#7C50CD#7C50CD

#7C50CD is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.185 H 295.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7C50CD
RGBrgb(124, 80, 205)
HSLhsl(261, 56%, 56%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(39.5%, 61%, 0%, 19.6%)
CIE-LABlab(44.84, 45.66, -58.48)
CIE-LCHlch(44.84, 74.19, 307.98°)
OKLaboklab(54.4% 0.0807 -0.1665)
OKLCHoklch(54.4% 0.185 295.9)
XYZxyz(22.1974, 14.4297, 59.3615)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50CD #A1CD50
analogous
#5062CD #7C50CD #BA50CD
triadic
#7C50CD #CD7C50 #50CD7C
tetradic
#7C50CD #CD5062 #A1CD50 #50CDBA
square
#7C50CD #CD5062 #A1CD50 #50CDBA
split-complementary
#7C50CD #CDBA50 #62CD50
monochromatic
#44247E #5D32AE #7C50CD #A080DB #C3AFE8

Accessibility & contrast

On white

5.40
#7C50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7C50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C50CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50CD#FFFFFF#000000##FFFFFF
##7C50CD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0D68CA
Tritanopia (blue-blind)
#686C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c50cd;
/* rgb */ color: rgb(124, 80, 205);
/* oklch */ color: oklch(54.4% 0.185 295.9);
Tailwind
colors: {
  custom: {
    50: '#a783dd',
    500: '#7c50cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c50cd;
$custom-light: #a783dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50cd",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 261.12,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.18505,
    "h": 295.9
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#7C50CD
secondary
#C4D6A2
accent
#DF49AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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