#7C50C8#7C50C8

#7C50C8 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.179 H 296.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7C50C8
RGBrgb(124, 80, 200)
HSLhsl(262, 52%, 55%)
HSVhsv(262, 60%, 78%)
CMYKcmyk(38%, 60%, 0%, 21.6%)
CIE-LABlab(44.51, 44.33, -56.14)
CIE-LCHlch(44.51, 71.53, 308.30°)
OKLaboklab(54.05% 0.0809 -0.1596)
OKLCHoklch(54.05% 0.179 296.9)
XYZxyz(21.6035, 14.1922, 56.2335)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50C8 #9CC850
analogous
#5060C8 #7C50C8 #B850C8
triadic
#7C50C8 #C87C50 #50C87C
tetradic
#7C50C8 #C85060 #9CC850 #50C8B8
square
#7C50C8 #C85060 #9CC850 #50C8B8
split-complementary
#7C50C8 #C8B850 #60C850
monochromatic
#442678 #5E34A6 #7C50C8 #9F7FD7 #C2ADE5

Accessibility & contrast

On white

5.47
#7C50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7C50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C50C8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50C8#FFFFFF#000000##FFFFFF
##7C50C81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#1C68C5
Tritanopia (blue-blind)
#6A6A84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c50c8;
/* rgb */ color: rgb(124, 80, 200);
/* oklch */ color: oklch(54.0% 0.179 296.9);
Tailwind
colors: {
  custom: {
    50: '#a783d9',
    500: '#7c50c8',
    950: '#000000',
  },
}
SCSS
$custom: #7c50c8;
$custom-light: #a783d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50c8",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 262,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.17897,
    "h": 296.9
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#7C50C8
secondary
#C1D3A1
accent
#DC4CA7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7C50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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