#7C5992#7C5992

#7C5992 is a mid, moderate violet. Relative luminance 0.135; OKLCH L 52.3% C 0.096 H 311.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7C5992
RGBrgb(124, 89, 146)
HSLhsl(277, 24%, 46%)
HSVhsv(277, 39%, 57%)
CMYKcmyk(15.1%, 39%, 0%, 42.7%)
CIE-LABlab(43.52, 25.58, -25.91)
CIE-LCHlch(43.52, 36.41, 314.63°)
OKLaboklab(52.33% 0.0635 -0.0715)
OKLCHoklch(52.33% 0.096 311.6)
XYZxyz(17.0720, 13.5054, 28.8960)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C5992 #6F9259
analogous
#5F5992 #7C5992 #92598B
triadic
#7C5992 #927C59 #59927C
tetradic
#7C5992 #925F59 #6F9259 #598B92
square
#7C5992 #925F59 #6F9259 #598B92
split-complementary
#7C5992 #8B9259 #59925F
monochromatic
#3B2B46 #5C426C #7C5992 #9A7AAE #B7A0C5

Accessibility & contrast

On white

5.67
#7C5992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7C5992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C5992
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C5992#FFFFFF#000000##FFFFFF
##7C59921.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6594
Deuteranopia (green-blind)
#576890
Tritanopia (blue-blind)
#7A616E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c5992;
/* rgb */ color: rgb(124, 89, 146);
/* oklch */ color: oklch(52.3% 0.096 311.6);
Tailwind
colors: {
  custom: {
    50: '#a388b2',
    500: '#7c5992',
    950: '#000000',
  },
}
SCSS
$custom: #7c5992;
$custom-light: #a388b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c5992",
  "rgb": {
    "r": 124,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 276.842,
    "s": 24.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.09562,
    "h": 311.6
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#7C5992
secondary
#A0B394
accent
#C1678A
background
#FAF8FA
surface
#F4F0F5
border
#CECBCF
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7C5992

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

Preview Lab → · Contrast checker → · Palette generator →

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