#7C5CCC#7C5CCC

#7C5CCC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.167 H 293.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7C5CCC
RGBrgb(124, 92, 204)
HSLhsl(257, 52%, 58%)
HSVhsv(257, 55%, 80%)
CMYKcmyk(39.2%, 54.9%, 0%, 20%)
CIE-LABlab(47.36, 38.62, -53.85)
CIE-LCHlch(47.36, 66.26, 305.65°)
OKLaboklab(56.23% 0.0665 -0.1529)
OKLCHoklch(56.23% 0.167 293.5)
XYZxyz(23.0355, 16.2985, 59.0473)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5CCC #ACCC5C
analogous
#5C74CC #7C5CCC #B45CCC
triadic
#7C5CCC #CC7C5C #5CCC7C
tetradic
#7C5CCC #CC5C74 #ACCC5C #5CCCB4
square
#7C5CCC #CC5C74 #ACCC5C #5CCCB4
split-complementary
#7C5CCC #CCB45C #74CC5C
monochromatic
#432984 #5B38B3 #7C5CCC #A18BDB #C7B9E9

Accessibility & contrast

On white

4.93
#7C5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7C5CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5CCC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5CCC#FFFFFF#000000##FFFFFF
##7C5CCC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D0
Deuteranopia (green-blind)
#2F6EC9
Tritanopia (blue-blind)
#67738B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c5ccc;
/* rgb */ color: rgb(124, 92, 204);
/* oklch */ color: oklch(56.2% 0.167 293.5);
Tailwind
colors: {
  custom: {
    50: '#a68bdc',
    500: '#7c5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #7c5ccc;
$custom-light: #a68bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5ccc",
  "rgb": {
    "r": 124,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 257.143,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.16671,
    "h": 293.5
  },
  "luminance": 0.16299
}

Semantic roles & 50–950 ramp

primary
#7C5CCC
secondary
#CBD8AC
accent
#DC4CB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7C5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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