#7C459C#7C459C

#7C459C is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.143 H 311.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7C459C
RGBrgb(124, 69, 156)
HSLhsl(278, 39%, 44%)
HSVhsv(278, 56%, 61%)
CMYKcmyk(20.5%, 55.8%, 0%, 38.8%)
CIE-LABlab(39.48, 39.44, -38.26)
CIE-LCHlch(39.48, 54.95, 315.86°)
OKLaboklab(49.49% 0.0947 -0.1072)
OKLCHoklch(49.49% 0.143 311.5)
XYZxyz(16.4400, 10.9420, 32.6920)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C459C #659C45
analogous
#51459C #7C459C #9C4591
triadic
#7C459C #9C7C45 #459C7C
tetradic
#7C459C #9C5145 #659C45 #45919C
square
#7C459C #9C5145 #659C45 #45919C
split-complementary
#7C459C #919C45 #459C51
monochromatic
#391F47 #5A3272 #7C459C #9B64BA #B68ECD

Accessibility & contrast

On white

6.59
#7C459C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7C459C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C459C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C459C#FFFFFF#000000##FFFFFF
##7C459C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#3F5E9A
Tritanopia (blue-blind)
#78546A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c459c;
/* rgb */ color: rgb(124, 69, 156);
/* oklch */ color: oklch(49.5% 0.143 311.5);
Tailwind
colors: {
  custom: {
    50: '#a47bba',
    500: '#7c459c',
    950: '#000000',
  },
}
SCSS
$custom: #7c459c;
$custom-light: #a47bba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c459c",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 277.931,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49491,
    "c": 0.14301,
    "h": 311.5
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

primary
#7C459C
secondary
#97B984
accent
#CF5984
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7C459C

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

Preview Lab → · Contrast checker → · Palette generator →

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