#763797#763797

#763797 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.157 H 312.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#763797
RGBrgb(118, 55, 151)
HSLhsl(279, 47%, 40%)
HSVhsv(279, 64%, 59%)
CMYKcmyk(21.9%, 63.6%, 0%, 40.8%)
CIE-LABlab(35.63, 44.13, -41.43)
CIE-LCHlch(35.63, 60.53, 316.81°)
OKLaboklab(46.41% 0.1053 -0.1166)
OKLCHoklch(46.41% 0.157 312.1)
XYZxyz(14.4223, 8.8187, 30.2146)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#763797 #589737
analogous
#463797 #763797 #973788
triadic
#763797 #977637 #379776
tetradic
#763797 #974637 #589737 #378897
square
#763797 #974637 #589737 #378897
split-complementary
#763797 #889737 #379746
monochromatic
#30163D #53276A #763797 #974DBE #B17ACF

Accessibility & contrast

On white

7.60
#763797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#763797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #763797
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##763797#FFFFFF#000000##FFFFFF
##7637971.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519A
Deuteranopia (green-blind)
#2F5595
Tritanopia (blue-blind)
#724962
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #763797;
/* rgb */ color: rgb(118, 55, 151);
/* oklch */ color: oklch(46.4% 0.157 312.1);
Tailwind
colors: {
  custom: {
    50: '#a072b6',
    500: '#763797',
    950: '#000000',
  },
}
SCSS
$custom: #763797;
$custom-light: #a072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#763797",
  "rgb": {
    "r": 118,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 279.375,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46414,
    "c": 0.15709,
    "h": 312.1
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#763797
secondary
#8AB872
accent
#D6527F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #763797

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

Preview Lab → · Contrast checker → · Palette generator →

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