#7C50CF#7C50CF

#7C50CF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.187 H 295.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7C50CF
RGBrgb(124, 80, 207)
HSLhsl(261, 57%, 56%)
HSVhsv(261, 61%, 81%)
CMYKcmyk(40.1%, 61.4%, 0%, 18.8%)
CIE-LABlab(44.98, 46.19, -59.41)
CIE-LCHlch(44.98, 75.26, 307.86°)
OKLaboklab(54.54% 0.0806 -0.1693)
OKLCHoklch(54.54% 0.187 295.5)
XYZxyz(22.4404, 14.5269, 60.6411)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50CF #A3CF50
analogous
#5064CF #7C50CF #BC50CF
triadic
#7C50CF #CF7C50 #50CF7C
tetradic
#7C50CF #CF5064 #A3CF50 #50CFBC
square
#7C50CF #CF5064 #A3CF50 #50CFBC
split-complementary
#7C50CF #CFBC50 #64CF50
monochromatic
#442381 #5D31B1 #7C50CF #A080DC #C4B0E9

Accessibility & contrast

On white

5.38
#7C50CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7C50CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C50CF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50CF#FFFFFF#000000##FFFFFF
##7C50CF1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0369CC
Tritanopia (blue-blind)
#676C88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c50cf;
/* rgb */ color: rgb(124, 80, 207);
/* oklch */ color: oklch(54.5% 0.187 295.5);
Tailwind
colors: {
  custom: {
    50: '#a783de',
    500: '#7c50cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c50cf;
$custom-light: #a783de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50cf",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 260.787,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.18747,
    "h": 295.5
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#7C50CF
secondary
#C5D8A3
accent
#E048AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C50CF

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

Preview Lab → · Contrast checker → · Palette generator →

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