#762997#762997

#762997 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.176 H 313.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#762997
RGBrgb(118, 41, 151)
HSLhsl(282, 57%, 38%)
HSVhsv(282, 73%, 59%)
CMYKcmyk(21.9%, 72.8%, 0%, 40.8%)
CIE-LABlab(33.29, 50.65, -45.19)
CIE-LCHlch(33.29, 67.88, 318.26°)
OKLaboklab(44.73% 0.1216 -0.1275)
OKLCHoklch(44.73% 0.176 313.6)
XYZxyz(13.8491, 7.6722, 30.0235)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762997 #4A9729
analogous
#3F2997 #762997 #972981
triadic
#762997 #977629 #299776
tetradic
#762997 #973F29 #4A9729 #298197
square
#762997 #973F29 #4A9729 #298197
split-complementary
#762997 #819729 #29973F
monochromatic
#2B0F37 #501C67 #762997 #9C36C7 #B465D5

Accessibility & contrast

On white

8.29
#762997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#762997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762997
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762997#FFFFFF#000000##FFFFFF
##7629971.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#215095
Tritanopia (blue-blind)
#73415D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762997;
/* rgb */ color: rgb(118, 41, 151);
/* oklch */ color: oklch(44.7% 0.176 313.6);
Tailwind
colors: {
  custom: {
    50: '#a16ab6',
    500: '#762997',
    950: '#000000',
  },
}
SCSS
$custom: #762997;
$custom-light: #a16ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#762997",
  "rgb": {
    "r": 118,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 282,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.17618,
    "h": 313.6
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#762997
secondary
#7CBB61
accent
#E14775
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762997

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

Preview Lab → · Contrast checker → · Palette generator →

#762997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva