#7C7286#7C7286

#7C7286 is a mid, muted violet. Relative luminance 0.180; OKLCH L 56.8% C 0.033 H 307.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7C7286
RGBrgb(124, 114, 134)
HSLhsl(270, 8%, 49%)
HSVhsv(270, 15%, 53%)
CMYKcmyk(7.5%, 14.9%, 0%, 47.5%)
CIE-LABlab(49.55, 7.93, -9.54)
CIE-LCHlch(49.55, 12.40, 309.73°)
OKLaboklab(56.81% 0.0199 -0.0257)
OKLCHoklch(56.81% 0.033 307.8)
XYZxyz(18.6318, 18.0410, 25.0503)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7286 #7C8672
analogous
#727286 #7C7286 #867286
triadic
#7C7286 #867C72 #72867C
tetradic
#7C7286 #867272 #7C8672 #728686
square
#7C7286 #867272 #7C8672 #728686
split-complementary
#7C7286 #868672 #728672
monochromatic
#3F3A44 #5D5665 #7C7286 #9B93A3 #B9B4BF

Accessibility & contrast

On white

4.56
#7C7286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7C7286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7286
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7286#FFFFFF#000000##000000
##7C72861.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7587
Deuteranopia (green-blind)
#717685
Tritanopia (blue-blind)
#7B7479
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c7286;
/* rgb */ color: rgb(124, 114, 134);
/* oklch */ color: oklch(56.8% 0.033 307.8);
Tailwind
colors: {
  custom: {
    50: '#a29aa9',
    500: '#7c7286',
    950: '#000000',
  },
}
SCSS
$custom: #7c7286;
$custom-light: #a29aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7286",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 134
  },
  "hsl": {
    "h": 270,
    "s": 8.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56806,
    "c": 0.03251,
    "h": 307.8
  },
  "luminance": 0.18041
}

Semantic roles & 50–950 ramp

primary
#7C7286
secondary
#AAAFA5
accent
#B17794
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0F0E0F
muted
#7E7E7F

Preview Lab

Preview with #7C7286

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

Preview Lab → · Contrast checker → · Palette generator →

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