#762797#762797

#762797 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.179 H 313.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#762797
RGBrgb(118, 39, 151)
HSLhsl(282, 59%, 37%)
HSVhsv(282, 74%, 59%)
CMYKcmyk(21.9%, 74.2%, 0%, 40.8%)
CIE-LABlab(33.00, 51.47, -45.66)
CIE-LCHlch(33.00, 68.80, 318.42°)
OKLaboklab(44.53% 0.1236 -0.1289)
OKLCHoklch(44.53% 0.179 313.8)
XYZxyz(13.7817, 7.5374, 30.0010)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762797 #489727
analogous
#3E2797 #762797 #972780
triadic
#762797 #977627 #279776
tetradic
#762797 #973E27 #489727 #278097
square
#762797 #973E27 #489727 #278097
split-complementary
#762797 #809727 #27973E
monochromatic
#2A0E36 #501A66 #762797 #9C34C8 #B462D6

Accessibility & contrast

On white

8.38
#762797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#762797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762797
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762797#FFFFFF#000000##FFFFFF
##7627971.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#1F4F95
Tritanopia (blue-blind)
#733F5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762797;
/* rgb */ color: rgb(118, 39, 151);
/* oklch */ color: oklch(44.5% 0.179 313.8);
Tailwind
colors: {
  custom: {
    50: '#a169b6',
    500: '#762797',
    950: '#000000',
  },
}
SCSS
$custom: #762797;
$custom-light: #a169b6;
$custom-dark: #000000;
JSON
{
  "hex": "#762797",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 282.321,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.17858,
    "h": 313.8
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#762797
secondary
#7ABC5E
accent
#E24674
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762797

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

Preview Lab → · Contrast checker → · Palette generator →

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