#7E6286#7E6286

#7E6286 is a mid, moderate purple. Relative luminance 0.149; OKLCH L 53.7% C 0.064 H 318.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7E6286
RGBrgb(126, 98, 134)
HSLhsl(287, 16%, 45%)
HSVhsv(287, 27%, 53%)
CMYKcmyk(6%, 26.9%, 0%, 47.5%)
CIE-LABlab(45.49, 18.19, -15.66)
CIE-LCHlch(45.49, 24.00, 319.28°)
OKLaboklab(53.72% 0.0482 -0.0425)
OKLCHoklch(53.72% 0.064 318.6)
XYZxyz(17.2743, 14.8926, 24.5142)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6286 #6A8662
analogous
#6C6286 #7E6286 #86627C
triadic
#7E6286 #867E62 #62867E
tetradic
#7E6286 #866C62 #6A8662 #627C86
square
#7E6286 #866C62 #6A8662 #627C86
split-complementary
#7E6286 #7C8662 #62866C
monochromatic
#3C2E3F #5D4863 #7E6286 #9C82A3 #B8A5BD

Accessibility & contrast

On white

5.28
#7E6286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7E6286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6286
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6286#FFFFFF#000000##FFFFFF
##7E62861.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6A87
Deuteranopia (green-blind)
#646D85
Tritanopia (blue-blind)
#7E666F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e6286;
/* rgb */ color: rgb(126, 98, 134);
/* oklch */ color: oklch(53.7% 0.064 318.6);
Tailwind
colors: {
  custom: {
    50: '#a38fa9',
    500: '#7e6286',
    950: '#000000',
  },
}
SCSS
$custom: #7e6286;
$custom-light: #a38fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6286",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 134
  },
  "hsl": {
    "h": 286.667,
    "s": 15.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.06428,
    "h": 318.6
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#7E6286
secondary
#9CAC98
accent
#B87080
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C0F
muted
#7F7D7F

Preview Lab

Preview with #7E6286

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

Preview Lab → · Contrast checker → · Palette generator →

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