#7A458D#7A458D

#7A458D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.4% C 0.125 H 316.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7A458D
RGBrgb(122, 69, 141)
HSLhsl(284, 34%, 41%)
HSVhsv(284, 51%, 55%)
CMYKcmyk(13.5%, 51.1%, 0%, 44.7%)
CIE-LABlab(38.41, 35.46, -30.91)
CIE-LCHlch(38.41, 47.04, 318.93°)
OKLaboklab(48.37% 0.0906 -0.0858)
OKLCHoklch(48.37% 0.125 316.5)
XYZxyz(14.9612, 10.3174, 26.3975)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A458D #588D45
analogous
#56458D #7A458D #8D457C
triadic
#7A458D #8D7A45 #458D7A
tetradic
#7A458D #8D5645 #588D45 #457C8D
square
#7A458D #8D5645 #588D45 #457C8D
split-complementary
#7A458D #7C8D45 #458D56
monochromatic
#331D3B #563164 #7A458D #9B5FB1 #B588C5

Accessibility & contrast

On white

6.86
#7A458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7A458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A458D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A458D#FFFFFF#000000##FFFFFF
##7A458D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#465C8B
Tritanopia (blue-blind)
#795062
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a458d;
/* rgb */ color: rgb(122, 69, 141);
/* oklch */ color: oklch(48.4% 0.125 316.5);
Tailwind
colors: {
  custom: {
    50: '#a27bae',
    500: '#7a458d',
    950: '#000000',
  },
}
SCSS
$custom: #7a458d;
$custom-light: #a27bae;
$custom-dark: #000000;
JSON
{
  "hex": "#7a458d",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 284.167,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48374,
    "c": 0.12482,
    "h": 316.5
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#7A458D
secondary
#8BB07E
accent
#CA5D7A
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7A458D

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

Preview Lab → · Contrast checker → · Palette generator →

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