#7E6284#7E6284

#7E6284 is a mid, moderate purple. Relative luminance 0.148; OKLCH L 53.6% C 0.062 H 320.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7E6284
RGBrgb(126, 98, 132)
HSLhsl(289, 15%, 45%)
HSVhsv(289, 26%, 52%)
CMYKcmyk(4.5%, 25.8%, 0%, 48.2%)
CIE-LABlab(45.41, 17.76, -14.57)
CIE-LCHlch(45.41, 22.98, 320.63°)
OKLaboklab(53.63% 0.0476 -0.0395)
OKLCHoklch(53.63% 0.062 320.3)
XYZxyz(17.1362, 14.8373, 23.7865)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6284 #688462
analogous
#6D6284 #7E6284 #846279
triadic
#7E6284 #847E62 #62847E
tetradic
#7E6284 #846D62 #688462 #627984
square
#7E6284 #846D62 #688462 #627984
split-complementary
#7E6284 #798462 #62846D
monochromatic
#3B2E3E #5C4861 #7E6284 #9C81A2 #B8A5BC

Accessibility & contrast

On white

5.29
#7E6284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7E6284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6284
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6284#FFFFFF#000000##FFFFFF
##7E62841.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6A85
Deuteranopia (green-blind)
#656D83
Tritanopia (blue-blind)
#7F656E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6284;
/* rgb */ color: rgb(126, 98, 132);
/* oklch */ color: oklch(53.6% 0.062 320.3);
Tailwind
colors: {
  custom: {
    50: '#a38fa7',
    500: '#7e6284',
    950: '#000000',
  },
}
SCSS
$custom: #7e6284;
$custom-light: #a38fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6284",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 132
  },
  "hsl": {
    "h": 289.412,
    "s": 14.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.06181,
    "h": 320.3
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#7E6284
secondary
#9BAB97
accent
#B8707D
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C0F
muted
#7F7D7F

Preview Lab

Preview with #7E6284

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

Preview Lab → · Contrast checker → · Palette generator →

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