#76408D#76408D

#76408D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.1% C 0.132 H 314.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#76408D
RGBrgb(118, 64, 141)
HSLhsl(282, 38%, 40%)
HSVhsv(282, 55%, 55%)
CMYKcmyk(16.3%, 54.6%, 0%, 44.7%)
CIE-LABlab(36.82, 37.08, -33.44)
CIE-LCHlch(36.82, 49.93, 317.95°)
OKLaboklab(47.09% 0.0927 -0.0933)
OKLCHoklch(47.09% 0.132 314.8)
XYZxyz(14.1116, 9.4418, 26.2732)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76408D #578D40
analogous
#4F408D #76408D #8D407D
triadic
#76408D #8D7640 #408D76
tetradic
#76408D #8D4F40 #578D40 #407D8D
square
#76408D #8D4F40 #578D40 #407D8D
split-complementary
#76408D #7D8D40 #408D4F
monochromatic
#301A39 #532D63 #76408D #9857B3 #B281C6

Accessibility & contrast

On white

7.27
#76408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#76408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76408D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76408D#FFFFFF#000000##FFFFFF
##76408D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5390
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#744C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #76408d;
/* rgb */ color: rgb(118, 64, 141);
/* oklch */ color: oklch(47.1% 0.132 314.8);
Tailwind
colors: {
  custom: {
    50: '#9f77af',
    500: '#76408d',
    950: '#000000',
  },
}
SCSS
$custom: #76408d;
$custom-light: #9f77af;
$custom-dark: #000000;
JSON
{
  "hex": "#76408d",
  "rgb": {
    "r": 118,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 282.078,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4709,
    "c": 0.13154,
    "h": 314.8
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#76408D
secondary
#89B078
accent
#CE5A7D
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #76408D

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

Preview Lab → · Contrast checker → · Palette generator →

#76408D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva