#76397E#76397E

#76397E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.2% C 0.127 H 322.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#76397E
RGBrgb(118, 57, 126)
HSLhsl(293, 38%, 36%)
HSVhsv(293, 55%, 49%)
CMYKcmyk(6.3%, 54.8%, 0%, 50.6%)
CIE-LABlab(34.57, 37.65, -27.75)
CIE-LCHlch(34.57, 46.77, 323.61°)
OKLaboklab(45.17% 0.1013 -0.0767)
OKLCHoklch(45.17% 0.127 322.9)
XYZxyz(12.6999, 8.2848, 20.6648)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76397E #417E39
analogous
#53397E #76397E #7E3963
triadic
#76397E #7E7639 #397E76
tetradic
#76397E #7E5339 #417E39 #39637E
square
#76397E #7E5339 #417E39 #39637E
split-complementary
#76397E #637E39 #397E53
monochromatic
#27132A #4F2654 #76397E #9D4CA8 #B672BF

Accessibility & contrast

On white

7.90
#76397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#76397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76397E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76397E#FFFFFF#000000##FFFFFF
##76397E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#42547C
Tritanopia (blue-blind)
#784256
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #76397e;
/* rgb */ color: rgb(118, 57, 126);
/* oklch */ color: oklch(45.2% 0.127 322.9);
Tailwind
colors: {
  custom: {
    50: '#9f72a3',
    500: '#76397e',
    950: '#000000',
  },
}
SCSS
$custom: #76397e;
$custom-light: #9f72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#76397e",
  "rgb": {
    "r": 118,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 293.043,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.12709,
    "h": 322.9
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#76397E
secondary
#72A86A
accent
#CE5A68
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #76397E

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

Preview Lab → · Contrast checker → · Palette generator →

#76397E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva