#7A438E#7A438E

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

Color values

HEX#7A438E
RGBrgb(122, 67, 142)
HSLhsl(284, 36%, 41%)
HSVhsv(284, 53%, 56%)
CMYKcmyk(14.1%, 52.8%, 0%, 44.3%)
CIE-LABlab(38.03, 36.80, -32.11)
CIE-LCHlch(38.03, 48.84, 318.90°)
OKLaboklab(48.11% 0.0937 -0.0893)
OKLCHoklch(48.11% 0.129 316.4)
XYZxyz(14.9150, 10.1054, 26.7508)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A438E #578E43
analogous
#54438E #7A438E #8E437C
triadic
#7A438E #8E7A43 #438E7A
tetradic
#7A438E #8E5443 #578E43 #437C8E
square
#7A438E #8E5443 #578E43 #437C8E
split-complementary
#7A438E #7C8E43 #438E54
monochromatic
#331C3B #562F64 #7A438E #9B5CB2 #B586C6

Accessibility & contrast

On white

6.95
#7A438E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7A438E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A438E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A438E#FFFFFF#000000##FFFFFF
##7A438E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#445B8C
Tritanopia (blue-blind)
#794E62
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a438e;
/* rgb */ color: rgb(122, 67, 142);
/* oklch */ color: oklch(48.1% 0.129 316.4);
Tailwind
colors: {
  custom: {
    50: '#a279af',
    500: '#7a438e',
    950: '#000000',
  },
}
SCSS
$custom: #7a438e;
$custom-light: #a279af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a438e",
  "rgb": {
    "r": 122,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 284,
    "s": 35.885,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48114,
    "c": 0.12944,
    "h": 316.4
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#7A438E
secondary
#8AB17C
accent
#CC5C7A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7A438E

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

Preview Lab → · Contrast checker → · Palette generator →

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