#7A438D#7A438D

#7A438D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.1% C 0.128 H 316.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7A438D
RGBrgb(122, 67, 141)
HSLhsl(285, 36%, 41%)
HSVhsv(285, 52%, 55%)
CMYKcmyk(13.5%, 52.5%, 0%, 44.7%)
CIE-LABlab(37.98, 36.58, -31.58)
CIE-LCHlch(37.98, 48.32, 319.19°)
OKLaboklab(48.06% 0.0936 -0.0878)
OKLCHoklch(48.06% 0.128 316.8)
XYZxyz(14.8402, 10.0755, 26.3572)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A438D #568D43
analogous
#55438D #7A438D #8D437B
triadic
#7A438D #8D7A43 #438D7A
tetradic
#7A438D #8D5543 #568D43 #437B8D
square
#7A438D #8D5543 #568D43 #437B8D
split-complementary
#7A438D #7B8D43 #438D55
monochromatic
#321C3A #562F64 #7A438D #9B5CB1 #B585C5

Accessibility & contrast

On white

6.97
#7A438D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7A438D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A438D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A438D#FFFFFF#000000##FFFFFF
##7A438D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#794E61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a438d;
/* rgb */ color: rgb(122, 67, 141);
/* oklch */ color: oklch(48.1% 0.128 316.8);
Tailwind
colors: {
  custom: {
    50: '#a279ae',
    500: '#7a438d',
    950: '#000000',
  },
}
SCSS
$custom: #7a438d;
$custom-light: #a279ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7a438d",
  "rgb": {
    "r": 122,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 284.595,
    "s": 35.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.12831,
    "h": 316.8
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#7A438D
secondary
#89B07C
accent
#CC5C79
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7A438D

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

Preview Lab → · Contrast checker → · Palette generator →

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