#7C459B#7C459B

#7C459B is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.142 H 311.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7C459B
RGBrgb(124, 69, 155)
HSLhsl(278, 38%, 44%)
HSVhsv(278, 55%, 61%)
CMYKcmyk(20%, 55.5%, 0%, 39.2%)
CIE-LABlab(39.43, 39.20, -37.75)
CIE-LCHlch(39.43, 54.43, 316.08°)
OKLaboklab(49.43% 0.0946 -0.1057)
OKLCHoklch(49.43% 0.142 311.8)
XYZxyz(16.3556, 10.9083, 32.2479)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C459B #649B45
analogous
#51459B #7C459B #9B458F
triadic
#7C459B #9B7C45 #459B7C
tetradic
#7C459B #9B5145 #649B45 #458F9B
square
#7C459B #9B5145 #649B45 #458F9B
split-complementary
#7C459B #8F9B45 #459B51
monochromatic
#381F46 #5A3271 #7C459B #9B63BA #B68ECD

Accessibility & contrast

On white

6.60
#7C459B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7C459B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C459B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C459B#FFFFFF#000000##FFFFFF
##7C459B1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#405E99
Tritanopia (blue-blind)
#795469
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c459b;
/* rgb */ color: rgb(124, 69, 155);
/* oklch */ color: oklch(49.4% 0.142 311.8);
Tailwind
colors: {
  custom: {
    50: '#a47bb9',
    500: '#7c459b',
    950: '#000000',
  },
}
SCSS
$custom: #7c459b;
$custom-light: #a47bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c459b",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 278.372,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49431,
    "c": 0.14186,
    "h": 311.8
  },
  "luminance": 0.10908
}

Semantic roles & 50–950 ramp

primary
#7C459B
secondary
#97B884
accent
#CE5984
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7C459B

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

Preview Lab → · Contrast checker → · Palette generator →

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