#7B6281#7B6281

#7B6281 is a mid, muted purple. Relative luminance 0.145; OKLCH L 53.2% C 0.056 H 319.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7B6281
RGBrgb(123, 98, 129)
HSLhsl(288, 14%, 45%)
HSVhsv(288, 24%, 51%)
CMYKcmyk(4.7%, 24%, 0%, 49.4%)
CIE-LABlab(44.99, 16.04, -13.44)
CIE-LCHlch(44.99, 20.93, 320.04°)
OKLaboklab(53.2% 0.0429 -0.0363)
OKLCHoklch(53.2% 0.056 319.7)
XYZxyz(16.4980, 14.5316, 22.7004)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6281 #688162
analogous
#6C6281 #7B6281 #816278
triadic
#7B6281 #817B62 #62817B
tetradic
#7B6281 #816C62 #688162 #627881
square
#7B6281 #816C62 #688162 #627881
split-complementary
#7B6281 #788162 #62816C
monochromatic
#392D3B #5A485E #7B6281 #99819F #B5A4BA

Accessibility & contrast

On white

5.38
#7B6281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7B6281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6281
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6281#FFFFFF#000000##FFFFFF
##7B62811.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6982
Deuteranopia (green-blind)
#646B80
Tritanopia (blue-blind)
#7C656D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b6281;
/* rgb */ color: rgb(123, 98, 129);
/* oklch */ color: oklch(53.2% 0.056 319.7);
Tailwind
colors: {
  custom: {
    50: '#a18ea5',
    500: '#7b6281',
    950: '#000000',
  },
}
SCSS
$custom: #7b6281;
$custom-light: #a18ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6281",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 129
  },
  "hsl": {
    "h": 288.387,
    "s": 13.656,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.0562,
    "h": 319.7
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#7B6281
secondary
#9AA996
accent
#B6717F
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C0F
muted
#7E7D7F

Preview Lab

Preview with #7B6281

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

Preview Lab → · Contrast checker → · Palette generator →

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