#7B458D#7B458D

#7B458D is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.5% C 0.125 H 317.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7B458D
RGBrgb(123, 69, 141)
HSLhsl(285, 34%, 41%)
HSVhsv(285, 51%, 55%)
CMYKcmyk(12.8%, 51.1%, 0%, 44.7%)
CIE-LABlab(38.53, 35.76, -30.69)
CIE-LCHlch(38.53, 47.12, 319.36°)
OKLaboklab(48.5% 0.0919 -0.0852)
OKLCHoklch(48.5% 0.125 317.2)
XYZxyz(15.1035, 10.3908, 26.4042)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B458D #578D45
analogous
#57458D #7B458D #8D457B
triadic
#7B458D #8D7B45 #458D7B
tetradic
#7B458D #8D5745 #578D45 #457B8D
square
#7B458D #8D5745 #578D45 #457B8D
split-complementary
#7B458D #7B8D45 #458D57
monochromatic
#331D3B #573164 #7B458D #9C5FB1 #B588C5

Accessibility & contrast

On white

6.82
#7B458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7B458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B458D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B458D#FFFFFF#000000##FFFFFF
##7B458D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#7B4F62
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b458d;
/* rgb */ color: rgb(123, 69, 141);
/* oklch */ color: oklch(48.5% 0.125 317.2);
Tailwind
colors: {
  custom: {
    50: '#a37bae',
    500: '#7b458d',
    950: '#000000',
  },
}
SCSS
$custom: #7b458d;
$custom-light: #a37bae;
$custom-dark: #000000;
JSON
{
  "hex": "#7b458d",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 285,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48497,
    "c": 0.12532,
    "h": 317.2
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#7B458D
secondary
#8AB07E
accent
#CA5D79
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7B458D

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

Preview Lab → · Contrast checker → · Palette generator →

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