#7A428E#7A428E

#7A428E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.0% C 0.131 H 316.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7A428E
RGBrgb(122, 66, 142)
HSLhsl(284, 37%, 41%)
HSVhsv(284, 54%, 56%)
CMYKcmyk(14.1%, 53.5%, 0%, 44.3%)
CIE-LABlab(37.82, 37.35, -32.44)
CIE-LCHlch(37.82, 49.47, 319.03°)
OKLaboklab(47.96% 0.0951 -0.0903)
OKLCHoklch(47.96% 0.131 316.5)
XYZxyz(14.8560, 9.9875, 26.7311)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A428E #568E42
analogous
#54428E #7A428E #8E427C
triadic
#7A428E #8E7A42 #428E7A
tetradic
#7A428E #8E5442 #568E42 #427C8E
square
#7A428E #8E5442 #568E42 #427C8E
split-complementary
#7A428E #7C8E42 #428E54
monochromatic
#321B3A #562F64 #7A428E #9B5BB3 #B584C6

Accessibility & contrast

On white

7.01
#7A428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7A428E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A428E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A428E#FFFFFF#000000##FFFFFF
##7A428E1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#435B8C
Tritanopia (blue-blind)
#794E61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a428e;
/* rgb */ color: rgb(122, 66, 142);
/* oklch */ color: oklch(48.0% 0.131 316.5);
Tailwind
colors: {
  custom: {
    50: '#a279af',
    500: '#7a428e',
    950: '#000000',
  },
}
SCSS
$custom: #7a428e;
$custom-light: #a279af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a428e",
  "rgb": {
    "r": 122,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 284.211,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47958,
    "c": 0.13116,
    "h": 316.5
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#7A428E
secondary
#89B17B
accent
#CD5B79
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7A428E

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

Preview Lab → · Contrast checker → · Palette generator →

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