#7C459D#7C459D

#7C459D is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.6% C 0.144 H 311.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7C459D
RGBrgb(124, 69, 157)
HSLhsl(278, 39%, 44%)
HSVhsv(278, 56%, 62%)
CMYKcmyk(21%, 56.1%, 0%, 38.4%)
CIE-LABlab(39.54, 39.67, -38.77)
CIE-LCHlch(39.54, 55.47, 315.65°)
OKLaboklab(49.55% 0.0947 -0.1087)
OKLCHoklch(49.55% 0.144 311.1)
XYZxyz(16.5250, 10.9760, 33.1398)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C459D #669D45
analogous
#50459D #7C459D #9D4592
triadic
#7C459D #9D7C45 #459D7C
tetradic
#7C459D #9D5045 #669D45 #45929D
square
#7C459D #9D5045 #669D45 #45929D
split-complementary
#7C459D #929D45 #459D50
monochromatic
#392048 #5A3272 #7C459D #9A64BB #B68FCE

Accessibility & contrast

On white

6.57
#7C459D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7C459D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C459D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C459D#FFFFFF#000000##FFFFFF
##7C459D1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c459d;
/* rgb */ color: rgb(124, 69, 157);
/* oklch */ color: oklch(49.6% 0.144 311.1);
Tailwind
colors: {
  custom: {
    50: '#a47bba',
    500: '#7c459d',
    950: '#000000',
  },
}
SCSS
$custom: #7c459d;
$custom-light: #a47bba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c459d",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 277.5,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.14417,
    "h": 311.1
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#7C459D
secondary
#98B985
accent
#CF5985
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7C459D

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

Preview Lab → · Contrast checker → · Palette generator →

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